[PATCH] imx: spl: Fix build-time test for CONFIG_SPL_FS_FAT
Jan Kiszka
jan.kiszka at web.de
Wed Apr 29 19:23:58 CEST 2020
From: Jan Kiszka <jan.kiszka at siemens.com>
This was already changed in 0c3a9ed409a5 but apparently missed when
adding 9d86dbd9cf9d.
Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
---
Found by chance while working on other code. Not tested.
arch/arm/mach-imx/spl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index 49bb3b928d..bfdb3f3ada 100644
--- a/arch/arm/mach-imx/spl.c
+++ b/arch/arm/mach-imx/spl.c
@@ -197,7 +197,7 @@ u32 spl_mmc_boot_mode(const u32 boot_device)
case SD1_BOOT:
case SD2_BOOT:
case SD3_BOOT:
-#if defined(CONFIG_SPL_FAT_SUPPORT)
+#if defined(CONFIG_SPL_FS_FAT)
return MMCSD_MODE_FS;
#else
return MMCSD_MODE_RAW;
@@ -206,7 +206,7 @@ u32 spl_mmc_boot_mode(const u32 boot_device)
case MMC1_BOOT:
case MMC2_BOOT:
case MMC3_BOOT:
-#if defined(CONFIG_SPL_FAT_SUPPORT)
+#if defined(CONFIG_SPL_FS_FAT)
return MMCSD_MODE_FS;
#elif defined(CONFIG_SUPPORT_EMMC_BOOT)
return MMCSD_MODE_EMMCBOOT;
--
2.16.4
More information about the U-Boot
mailing list