am335x/ti814x: Correct MMC_BOOT_DEVICES_START/END
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
Reported-by Peter Korsgaard <[email protected]>
Signed-off-by Tom Rini <[email protected]>
--- arch/arm/include/asm/arch-am33xx/spl.h | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/include/asm/arch-am33xx/spl.h +5 -0
@@ -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
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
Reported-by Peter Korsgaard <[email protected]>Signed-off-by Tom Rini <[email protected]>
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>