/* 2012-09-16: File added by Sony Corporation */
/*
 * icx.h
 *
 * Copyright 2011 Sony Corporation.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 *
 */

#include "../../../../kernel/top/arch/arm/mach-emxx/include/mach/icx_emmc_map.h"

#ifndef __ICX_H__
#define __ICX_H__

#define	ICX_LOADER_PARTITION_NO			0
#define	ICX_COMMON_KERNEL_PARTITION_NO	1

extern int			config_cons_index;

extern unsigned int icx_inst_initrd_size;
extern int			icx_is_bb;

void		 icx_board_init(void);
int			 icx_init(void);
unsigned int icx_load_linux_image(int part_no, unsigned int src, unsigned char *dst, unsigned int size_limit);
void		 check_commandline(char *commandline);
void		 icx_boot_error(void);

#endif

