[U-Boot] [UBOOT][PATCH 2/5] qspi: add support for qspi4 device
Sourav Poddar
sourav.poddar at ti.com
Wed Apr 2 12:36:10 CEST 2014
Add support to enable boot from qspi in qspi4 pin mode.
Signed-off-by: Sourav Poddar <sourav.poddar at ti.com>
---
arch/arm/include/asm/arch-omap5/spl.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/include/asm/arch-omap5/spl.h b/arch/arm/include/asm/arch-omap5/spl.h
index f707998..77eb943 100644
--- a/arch/arm/include/asm/arch-omap5/spl.h
+++ b/arch/arm/include/asm/arch-omap5/spl.h
@@ -16,7 +16,11 @@
#define BOOT_DEVICE_MMC2 6
#define BOOT_DEVICE_MMC2_2 7
#define BOOT_DEVICE_SATA 9
+#ifdef CONFIG_QSPI_BOOT
+#define BOOT_DEVICE_SPI 11
+#else
#define BOOT_DEVICE_SPI 10
+#endif
#define BOOT_DEVICE_UART 0x43
#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
--
1.7.9.5
More information about the U-Boot
mailing list