OMAP3: igep00x0: add CONFIG_SPL_BOARD_INIT for CONFIG_SPL_NAND_SUPPORT
authorJavier Martinez Canillas <javier@dowhile0.org>
Fri, 28 Dec 2012 02:51:53 +0000 (02:51 +0000)
committerTom Rini <trini@ti.com>
Thu, 10 Jan 2013 22:09:24 +0000 (15:09 -0700)
When booting an IGEPv2 board from NAND with SPL, U-Boot hangs
trying to read the OMAP General Purpose Memory Controller (GPMC).

The reason is that the GPMC initialization function is called
inside spl_board_init() and this function is only executed when
CONFIG_SPL_BOARD_INIT is defined.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
include/configs/igep00x0.h

index 43dd06e2467d59e36822283dabad29c0b4bf3d04..0617a58a26b0d96f7442fcddd7923749fa1ad7bd 100644 (file)
 #define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION   1
 #define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME       "u-boot.img"
 
+#define CONFIG_SPL_BOARD_INIT
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
 #define CONFIG_SPL_LIBDISK_SUPPORT
 #define CONFIG_SPL_I2C_SUPPORT