Merge tag 'efi-2020-04-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
[oweals/u-boot.git] / board / bosch / guardian / board.c
index 072aa4ebb881946e635b891f8f517fbbf60e6491..32ebaf42317dc6115d073e95eba162d5c791180d 100644 (file)
@@ -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;