Commit 0e29a2481468e238f3925343aad78d9fa6e1d4f0
Committed by
Tom Rini
1 parent
612404c28a
Exists in
master
and in
54 other branches
OMAP3: igep00x0: add CONFIG_SPL_BOARD_INIT for CONFIG_SPL_NAND_SUPPORT
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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
include/configs/igep00x0.h
... | ... | @@ -312,6 +312,7 @@ |
312 | 312 | #define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION 1 |
313 | 313 | #define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot.img" |
314 | 314 | |
315 | +#define CONFIG_SPL_BOARD_INIT | |
315 | 316 | #define CONFIG_SPL_LIBCOMMON_SUPPORT |
316 | 317 | #define CONFIG_SPL_LIBDISK_SUPPORT |
317 | 318 | #define CONFIG_SPL_I2C_SUPPORT |