[U-Boot] [PATCH 3/3] ls102xa: spl: fix the macro name of MMC mode

Gong Qianyu Qianyu.Gong at nxp.com
Wed Apr 27 03:44:51 CEST 2016


There is no MODE_FAT but MODE_FS. Fix it.

Signed-off-by: Gong Qianyu <Qianyu.Gong at nxp.com>
---
 arch/arm/cpu/armv7/ls102xa/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/ls102xa/spl.c b/arch/arm/cpu/armv7/ls102xa/spl.c
index 1dfbf54..0289058 100644
--- a/arch/arm/cpu/armv7/ls102xa/spl.c
+++ b/arch/arm/cpu/armv7/ls102xa/spl.c
@@ -20,7 +20,7 @@ u32 spl_boot_mode(void)
 	switch (spl_boot_device()) {
 	case BOOT_DEVICE_MMC1:
 #ifdef CONFIG_SPL_FAT_SUPPORT
-		return MMCSD_MODE_FAT;
+		return MMCSD_MODE_FS;
 #else
 		return MMCSD_MODE_RAW;
 #endif
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list