summaryrefslogtreecommitdiffstats
path: root/board/bosch/guardian/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bosch/guardian/board.c')
-rw-r--r--board/bosch/guardian/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c
index 072aa4ebb8..32ebaf4231 100644
--- a/board/bosch/guardian/board.c
+++ b/board/bosch/guardian/board.c
@@ -180,7 +180,7 @@ int board_init(void)
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
-#ifdef CONFIG_NAND
+#ifdef CONFIG_MTD_RAW_NAND
gpmc_init();
#endif
return 0;