* [U-Boot] [PATCH] am335x/ti814x: Correct MMC_BOOT_DEVICES_START/END
@ 2013-04-09 15:41 Tom Rini
2013-04-10 20:08 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2013-04-09 15:41 UTC (permalink / raw)
To: u-boot
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 <jacmet@sunsite.dk>
Signed-off-by: Tom Rini <trini@ti.com>
---
arch/arm/include/asm/arch-am33xx/spl.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/include/asm/arch-am33xx/spl.h b/arch/arm/include/asm/arch-am33xx/spl.h
index 14a2c7c..4c23b27 100644
--- a/arch/arm/include/asm/arch-am33xx/spl.h
+++ b/arch/arm/include/asm/arch-am33xx/spl.h
@@ -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
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] am335x/ti814x: Correct MMC_BOOT_DEVICES_START/END
2013-04-09 15:41 [U-Boot] [PATCH] am335x/ti814x: Correct MMC_BOOT_DEVICES_START/END Tom Rini
@ 2013-04-10 20:08 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2013-04-10 20:08 UTC (permalink / raw)
To: u-boot
On Tue, Apr 09, 2013 at 11:41:33AM -0400, Tom Rini wrote:
> 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 <jacmet@sunsite.dk>
> Signed-off-by: Tom Rini <trini@ti.com>
Applied to u-boot-ti/master, thanks!
--
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-10 20:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-09 15:41 [U-Boot] [PATCH] am335x/ti814x: Correct MMC_BOOT_DEVICES_START/END Tom Rini
2013-04-10 20:08 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.