[U-Boot] [PATCH RFC 2/3] arm:vf610:Add SPI bus num in SOC level for SPI compatibility

Chao Fu b44548 at freescale.com
Tue Jul 1 11:18:06 CEST 2014


From: Chao Fu <B44548 at freescale.com>

Add DSPI and QSPI bus definition in SOC level.
Sf probe command parameter bus will decide which module will work.

Add register base definition.

Signed-off-by: Chao Fu <B44548 at freescale.com>
---
 arch/arm/include/asm/arch-vf610/imx-regs.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/include/asm/arch-vf610/imx-regs.h b/arch/arm/include/asm/arch-vf610/imx-regs.h
index bd6f680..3076975 100644
--- a/arch/arm/include/asm/arch-vf610/imx-regs.h
+++ b/arch/arm/include/asm/arch-vf610/imx-regs.h
@@ -95,6 +95,8 @@
 #define FEC_QUIRK_ENET_MAC
 #define I2C_QUIRK_REG
 
+#define SPI_BUS_FSL_QSPI0                               0
+
 /* MSCM interrupt rounter */
 #define MSCM_IRSPRC_CP0_EN				1
 #define MSCM_IRSPRC_NUM					112
-- 
1.8.4



More information about the U-Boot mailing list