summaryrefslogtreecommitdiffstats
path: root/board/ti/ti816x/evm.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/ti816x/evm.c')
-rw-r--r--board/ti/ti816x/evm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/ti816x/evm.c b/board/ti/ti816x/evm.c
index 8f7b591b5c..3896ebbfda 100644
--- a/board/ti/ti816x/evm.c
+++ b/board/ti/ti816x/evm.c
@@ -25,7 +25,7 @@ DECLARE_GLOBAL_DATA_PTR;
int board_init(void)
{
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
-#if defined(CONFIG_NAND)
+#if defined(CONFIG_MTD_RAW_NAND)
gpmc_init();
#endif
return 0;