summaryrefslogtreecommitdiff
path: root/board/scalys/simc-t2081/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/scalys/simc-t2081/spl.c')
-rw-r--r--board/scalys/simc-t2081/spl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/scalys/simc-t2081/spl.c b/board/scalys/simc-t2081/spl.c
index f0fb9dd..d36e9f4 100644
--- a/board/scalys/simc-t2081/spl.c
+++ b/board/scalys/simc-t2081/spl.c
@@ -152,7 +152,7 @@ void board_init_r(gd_t *gd, ulong dest_addr)
break;
case 0x40:
/* SD/MMC (eSDHC) boot */
- #ifdef CONFIG_SPL_MMC_BOOT
+#if defined(CONFIG_SPL_MMC_BOOT) || defined(CONFIG_SDHC_FLASH_BOOT)
setup_ifc_nand(IFC_CS0);
setup_ifc_nor(IFC_CS1);
@@ -160,7 +160,7 @@ void board_init_r(gd_t *gd, ulong dest_addr)
mmc_spl_load_image(CONFIG_ENV_OFFSET, CONFIG_ENV_SIZE,
(uchar *)CONFIG_ENV_ADDR);
boot = mmc_boot;
- #endif
+#endif
break;
case 0x105:
/* NAND boot */