Skip to contentSkip to conversation

am335x/ti814x: Correct MMC_BOOT_DEVICES_START/END

PATCH New Tom Rini 1 participant 2 messages Apr 9, 2013 – Apr 10, 2013 Arm (32-bit)

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 am335x/ti814x: Correct MMC_BOOT_DEVICES_START/END

Given that on TI814x we have MMC1/2 swapped, we also need to swap them in MMC_BOOT_DEVICES_START/END

---
 arch/arm/include/asm/arch-am33xx/spl.h |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/include/asm/arch-am33xx/spl.h +5 -0
index 14a2c7c..4c23b27 100644
@@ -38,6 +38,11 @@
 #define BOOT_DEVICE_CPGMAC	70
 #define BOOT_DEVICE_MMC2_2      0xFF
 
+#ifdef CONFIG_AM33XX
 #define MMC_BOOT_DEVICES_START	BOOT_DEVICE_MMC1
 #define MMC_BOOT_DEVICES_END	BOOT_DEVICE_MMC2
+#elif defined(CONFIG_TI814X)
+#define MMC_BOOT_DEVICES_START	BOOT_DEVICE_MMC2
+#define MMC_BOOT_DEVICES_END	BOOT_DEVICE_MMC1
+#endif
 #endif
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/1 am335x/ti814x: Correct MMC_BOOT_DEVICES_START/END

Quoted 5 lines · Tom Rini

Given that on TI814x we have MMC1/2 swapped, we also need to swap them in MMC_BOOT_DEVICES_START/END

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130410/58123a84/attachment.pgp>