mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 13:56:20 +00:00
OMAP3: Initialize gpmc if SPL_ONENAND_SUPPORT is enabled.
In order to use SPL boot from OneNAND we should initialize the gpmc. Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
This commit is contained in:
parent
6000992e26
commit
b51a5e3a0a
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ int board_mmc_init(bd_t *bis)
|
||||||
|
|
||||||
void spl_board_init(void)
|
void spl_board_init(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_SPL_NAND_SUPPORT
|
#if defined(CONFIG_SPL_NAND_SUPPORT) || defined(CONFIG_SPL_ONENAND_SUPPORT)
|
||||||
gpmc_init();
|
gpmc_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_SPL_I2C_SUPPORT
|
#ifdef CONFIG_SPL_I2C_SUPPORT
|
||||||
|
|
Loading…
Add table
Reference in a new issue