summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap-common/spl_nand.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-08-14 12:26:08 -0700
committerTom Rini <trini@ti.com>2012-09-27 09:49:59 -0700
commitd7cb93b28a41237b689c9d84230d7d72a2048021 (patch)
tree9edbde2af8df4105db86940df089ba0b6d4d64b3 /arch/arm/cpu/armv7/omap-common/spl_nand.c
parentd4c4e0e11710f26904c288ad1bf05d8b73abddf7 (diff)
downloadolio-uboot-2014.01-d7cb93b28a41237b689c9d84230d7d72a2048021.tar.xz
olio-uboot-2014.01-d7cb93b28a41237b689c9d84230d7d72a2048021.zip
ARM: SPL: Move gpmc_init() to spl_board_init()
This is an OMAP/related-specific function, move calling it to spl_board_init() and turn on CONFIG_SPL_BOARD_INIT on the boards that enabled NAND and didn't enable this already. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common/spl_nand.c')
-rw-r--r--arch/arm/cpu/armv7/omap-common/spl_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/spl_nand.c b/arch/arm/cpu/armv7/omap-common/spl_nand.c
index 3e2f3590e..1e6b5f0db 100644
--- a/arch/arm/cpu/armv7/omap-common/spl_nand.c
+++ b/arch/arm/cpu/armv7/omap-common/spl_nand.c
@@ -35,7 +35,6 @@ void spl_nand_load_image(void)
int *dst __attribute__((unused));
debug("spl: nand - using hw ecc\n");
- gpmc_init();
nand_init();
/*use CONFIG_SYS_TEXT_BASE as temporary storage area */