aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-12-28 02:51:53 +0000
committerTom Rini <trini@ti.com>2013-01-10 15:09:24 -0700
commit0e29a2481468e238f3925343aad78d9fa6e1d4f0 (patch)
tree7b0c156c5c38a50020edeb3f64207d09b2287f35
parent612404c28a64a6df300642a1550a65dcc8e01f82 (diff)
downloadu-boot-linaro-stable-0e29a2481468e238f3925343aad78d9fa6e1d4f0.tar.gz
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>
-rw-r--r--include/configs/igep00x0.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/igep00x0.h b/include/configs/igep00x0.h
index 43dd06e24..0617a58a2 100644
--- a/include/configs/igep00x0.h
+++ b/include/configs/igep00x0.h
@@ -312,6 +312,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