diff options
author | Tom Rini <trini@konsulko.com> | 2017-05-16 18:46:37 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-05 15:02:24 (GMT) |
commit | 77e99277a20533108101c3024f3c3cfbff0f7e80 (patch) | |
tree | df2d8d7e5269d14085f9763184a0916abbf27629 /board/ti/ti816x/evm.c | |
parent | dab2fc2863290a845ad13618a2726931007ff65e (diff) | |
download | u-boot-77e99277a20533108101c3024f3c3cfbff0f7e80.tar.xz |
ti816x: Enable NAND
The TI8168-EVM comes with NAND on board. Enable it and move environment
over there.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/ti816x/evm.c')
-rw-r--r-- | board/ti/ti816x/evm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/ti/ti816x/evm.c b/board/ti/ti816x/evm.c index ad98e09..8f07e2c 100644 --- a/board/ti/ti816x/evm.c +++ b/board/ti/ti816x/evm.c @@ -25,11 +25,13 @@ DECLARE_GLOBAL_DATA_PTR; int board_init(void) { gd->bd->bi_boot_params = PHYS_DRAM_1 + 0x100; +#if defined(CONFIG_NAND) + gpmc_init(); +#endif return 0; } #ifdef CONFIG_SPL_BUILD - static struct module_pin_mux mmc_pin_mux[] = { { OFFSET(pincntl157), PULLDOWN_EN | PULLUDDIS | MODE(0x0) }, { OFFSET(pincntl158), PULLDOWN_EN | PULLUDEN | MODE(0x0) }, |