OMAP3: igep00x0: add CONFIG_SPL_BOARD_INIT for CONFIG_SPL_NAND_SUPPORT
PATCH 1/1 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.
--- include/configs/igep00x0.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/igep00x0.h +1 -0
@@ -318,6 +318,7 @@#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
Signature · 1 line
1.7.7.6
PATCH 1/1 OMAP3: igep00x0: add CONFIG_SPL_BOARD_INIT for CONFIG_SPL_NAND_SUPPORT
2012/12/28 Javier Martinez Canillas <[email protected]>:
Quoted 27 lines
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 whenCONFIG_SPL_BOARD_INITis defined.Signed-off-by Javier Martinez Canillas <[email protected]>--- include/configs/igep00x0.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)include/configs/igep00x0.h +1
-1@@ -318,6 +318,7 @@#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 --1.7.7.6
Quoted 4 lines
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
PATCH 1/1 OMAP3: igep00x0: add CONFIG_SPL_BOARD_INIT for CONFIG_SPL_NAND_SUPPORT
In reply to Javier Martinez CanillasQuoted 9 lines · Javier Martinez Canillas
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 whenCONFIG_SPL_BOARD_INITis defined.Signed-off-by Javier Martinez Canillas <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130111/e1bae726/attachment.pgp>