projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6000992
)
OMAP3: Initialize gpmc if SPL_ONENAND_SUPPORT is enabled.
author
Enric Balletbo i Serra
<eballetbo@iseebcn.com>
Thu, 7 Feb 2013 23:14:49 +0000
(23:14 +0000)
committer
Tom Rini
<trini@ti.com>
Mon, 11 Mar 2013 15:06:08 +0000
(11:06 -0400)
In order to use SPL boot from OneNAND we should initialize the gpmc.
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
arch/arm/cpu/armv7/omap3/board.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/omap3/board.c
b/arch/arm/cpu/armv7/omap3/board.c
index 23ccc59385e8b9b8334f75d949d8c2a50ff651ce..c6d9a425a592d7fae469fa0acc0b733fe99836c6 100644
(file)
--- a/
arch/arm/cpu/armv7/omap3/board.c
+++ b/
arch/arm/cpu/armv7/omap3/board.c
@@
-110,7
+110,7
@@
int board_mmc_init(bd_t *bis)
void spl_board_init(void)
{
-#if
def CONFIG_SPL_NAND_SUPPORT
+#if
defined(CONFIG_SPL_NAND_SUPPORT) || defined(CONFIG_SPL_ONENAND_SUPPORT)
gpmc_init();
#endif
#ifdef CONFIG_SPL_I2C_SUPPORT