]> git.sur5r.net Git - u-boot/commitdiff
spi: mxc_spi: i.MX6 DL/S have only 4 eCSPI controller
authorMarkus Niebel <Markus.Niebel@tqs.de>
Mon, 17 Feb 2014 16:33:18 +0000 (17:33 +0100)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 18 Feb 2014 16:59:26 +0000 (22:29 +0530)
The dual lite and solo variant have only 4 SPI controller.
respect this in the MXC_SPI_BASE_ADRESSES macro

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
arch/arm/include/asm/arch-mx6/imx-regs.h

index 3c58c0118512532594bd1201a0b3d17109125124..26f2a8848f1a1b57adf8bdf64c2be442fb3cc289 100644 (file)
@@ -409,7 +409,7 @@ struct cspi_regs {
 #define MXC_CSPICON_POL                4  /* SCLK polarity */
 #define MXC_CSPICON_SSPOL      12 /* SS polarity */
 #define MXC_CSPICON_CTL                20 /* inactive state of SCLK */
-#ifdef CONFIG_MX6SL
+#if defined(CONFIG_MX6SL) || defined(CONFIG_MX6DL)
 #define MXC_SPI_BASE_ADDRESSES \
        ECSPI1_BASE_ADDR, \
        ECSPI2_BASE_ADDR, \