From 20710100e480543d36b76845c52cdec382f2b43a Mon Sep 17 00:00:00 2001 From: Terry Lv Date: Tue, 10 Nov 2009 22:29:11 +0800 Subject: ENGR00118294: Misc changes for v2009.08 upgrade. Misc changes for v2009.08 upgrade. Signed-off-by: Terry Lv --- include/asm-arm/arch-mx51/mx51.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/asm-arm/arch-mx51/mx51.h') diff --git a/include/asm-arm/arch-mx51/mx51.h b/include/asm-arm/arch-mx51/mx51.h index ec6e60c..19097b9 100644 --- a/include/asm-arm/arch-mx51/mx51.h +++ b/include/asm-arm/arch-mx51/mx51.h @@ -399,8 +399,19 @@ #define BOARD_REV_1_0 0x0 #define BOARD_REV_2_0 0x1 +#define NAND_FLASH_BOOT 0x10000000 +#define SPI_NOR_FLASH_BOOT 0x80000000 +#define MMC_FLASH_BOOT 0x40000000 + #ifndef __ASSEMBLER__ +enum boot_device { + UNKNOWN_BOOT, + NAND_BOOT, + SPI_NOR_BOOT, + MMC_BOOT, +}; + enum mxc_clock { MXC_ARM_CLK = 0, MXC_AHB_CLK, @@ -440,6 +451,7 @@ enum mxc_peri_clocks { extern unsigned int mxc_get_clock(enum mxc_clock clk); extern unsigned int get_board_rev(void); extern int is_soc_rev(int rev); +extern enum boot_device get_boot_device(); #endif /* __ASSEMBLER__*/ -- cgit v1.1