summaryrefslogtreecommitdiff
path: root/board/ti
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-16 18:46:37 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-05 15:02:24 (GMT)
commit77e99277a20533108101c3024f3c3cfbff0f7e80 (patch)
treedf2d8d7e5269d14085f9763184a0916abbf27629 /board/ti
parentdab2fc2863290a845ad13618a2726931007ff65e (diff)
downloadu-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')
-rw-r--r--board/ti/ti816x/evm.c4
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) },