diff --git a/src/main/iblmain.c b/src/main/iblmain.c
index 6cd57996e3965de4f10db7fcb089de19b123c0e5..c8e2746c051cbc23c4a613f8826311f351425ad4 100644 (file)
--- a/src/main/iblmain.c
+++ b/src/main/iblmain.c
break;
#endif
-#if ((!defined(EXCLUDE_NAND_EMIF)) )
+#if ((!defined(EXCLUDE_NAND_EMIF)) || (!defined(EXCLUDE_NAND_GPIO)))
case ibl_BOOT_MODE_NAND:
iblPmemCfg (ibl.bootModes[boot_mode_idx].u.nandBoot.interface, ibl.bootModes[boot_mode_idx].port, TRUE);
memset ((void *)0x80000000, 0, 0x20000000);
break;
#endif
-#if ((!defined(EXCLUDE_NAND_EMIF)) )
+#if ((!defined(EXCLUDE_NAND_EMIF)) || (!defined(EXCLUDE_NAND_GPIO)))
case ibl_BOOT_MODE_NAND:
iblPmemCfg (ibl.bootModes[j].u.nandBoot.interface, ibl.bootModes[j].port, TRUE);
iblNandBoot (j);