diff options
author | Tom Rini <trini@ti.com> | 2013-04-09 11:40:40 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-09 11:40:40 -0400 |
commit | 74f40ea1bcbe96a91067d6f8056a18393d311e67 (patch) | |
tree | 588cfd86f1f92dbf8b9b8c10a744d9c574f26be0 /arch/arm/include/asm/arch-am33xx | |
parent | dd2445ec1b839a5ca61ff8438a5b7aebb21b7986 (diff) | |
download | u-boot-imx-74f40ea1bcbe96a91067d6f8056a18393d311e67.zip u-boot-imx-74f40ea1bcbe96a91067d6f8056a18393d311e67.tar.gz u-boot-imx-74f40ea1bcbe96a91067d6f8056a18393d311e67.tar.bz2 |
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 <jacmet@sunsite.dk>
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-am33xx')
-rw-r--r-- | arch/arm/include/asm/arch-am33xx/spl.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |