Skip to contentSkip to conversation

fsl-layerscape: spl: fix the macro name of MMC mode

PATCH New Gong Qianyu 2 participants 3 messages Apr 27, 2016 – May 24, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 fsl-layerscape: spl: fix the macro name of MMC mode

There is no MODE_FAT but MODE_FS. Fix it.

---
 arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv8/fsl-layerscape/spl.c +1 -1
index 4c8a9a0..5883c00 100644
@@ -29,7 +29,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
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 2/3 fsl-layerscape: spl: fix the macro name of MMC mode

Quoted 1 line · Gong Qianyu

There is no MODE_FAT but MODE_FS. Fix it.

Actually this macro existed before being renamed by commit 205b4f33cfe58268df7d433f2da515fe660afd9c. No need to resend the patch. I will update the command message when merging.

York

Quoted 20 lines
---
 arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv8/fsl-layerscape/spl.c +1 -1
index 4c8a9a0..5883c00 100644
@@ -29,7 +29,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 lore raw

PATCH 2/3 fsl-layerscape: spl: fix the macro name of MMC mode

In reply to Gong Qianyu
Quoted 7 lines · Gong Qianyu

There is no MODE_FAT but MODE_FS. Fix it.

---
 arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Minor adjustment to commit message.
Applied to u-boot-fsl-qoriq master, awaiting upstream.

Thanks.

York