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)
commit0e29a2481468e238f3925343aad78d9fa6e1d4f0
tree7b0c156c5c38a50020edeb3f64207d09b2287f35
parent612404c28a64a6df300642a1550a65dcc8e01f82
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>
include/configs/igep00x0.h