From 49175c49bae743a80c9fa2e264ccee7befa0b7a4 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 8 May 2012 07:29:32 +0000 Subject: ARM: omap3: Add CONFIG_SPL_BOARD_INIT for CONFIG_SPL_MMC_SUPPORT As originally reported against beagleboard we currently have the following error message reported in SPL: U-Boot SPL 2012.04-00020-gb8310b9-dirty (Apr 25 2012 - 18:49:57) Texas Instruments Revision detection unimplemented OMAP SD/MMC: 0 timed out in wait_for_bb: I2C_STAT=1000 reading u-boot.img .... The reason for above message is that when booting from MMC, I2C needs to be initialized to talk with the TWL4030. On OMAP3 I2C is only initalized in SPL if CONFIG_SPL_BOARD_INIT is set. Cc: Thomas Weber Cc: Steve Sakoman Original patch for Beagleboard is: Signed-off-by: Peter Meerwald Extended to cover all other boards: Signed-off-by: Tom Rini --- include/configs/omap3_evm_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/omap3_evm_common.h') diff --git a/include/configs/omap3_evm_common.h b/include/configs/omap3_evm_common.h index 47ebbefb9e..7b21a5c8c4 100644 --- a/include/configs/omap3_evm_common.h +++ b/include/configs/omap3_evm_common.h @@ -288,6 +288,7 @@ #define CONFIG_SPL_BSS_START_ADDR 0x80000000 #define CONFIG_SPL_BSS_MAX_SIZE 0x80000 /* 512 KB */ +#define CONFIG_SPL_BOARD_INIT #define CONFIG_SPL_LIBCOMMON_SUPPORT #define CONFIG_SPL_LIBDISK_SUPPORT #define CONFIG_SPL_I2C_SUPPORT -- cgit