summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/xrx200
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-17 19:56:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-17 19:56:03 +0000
commit04ad02d132fb14d509d14054313405f24cf1e8ff (patch)
tree16125f54abdb72ee2e51331839e70eb651d5d8fd /target/linux/lantiq/xrx200
parent5985c56ec6ba696bf8cc9f0eb90bd498b4bb46a1 (diff)
downloadmaster-31e0f0ae-04ad02d132fb14d509d14054313405f24cf1e8ff.tar.gz
master-31e0f0ae-04ad02d132fb14d509d14054313405f24cf1e8ff.tar.bz2
master-31e0f0ae-04ad02d132fb14d509d14054313405f24cf1e8ff.zip
lantiq: Switch to the new SPI driver
Compared to the "old" driver: - Each device must assign a pinctrl setting to the SPI node to allow the new SPI driver to configure the SPI pins. While here we are also using separate input and output settings so we are independent of whether the bootloader configures the pins correctly. - We use the new "compatible" strings to make the driver choose the correct number of chip-selects for each SoC. - The new driver starts counting the chip-selects at 1 (instead of 0, like the old one did). Thus we have to adjust the devices accordingly. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48293
Diffstat (limited to 'target/linux/lantiq/xrx200')
-rw-r--r--target/linux/lantiq/xrx200/config-default3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/lantiq/xrx200/config-default b/target/linux/lantiq/xrx200/config-default
index ece2706e5d..1c9f5ccb13 100644
--- a/target/linux/lantiq/xrx200/config-default
+++ b/target/linux/lantiq/xrx200/config-default
@@ -56,9 +56,8 @@ CONFIG_RTL8366S_PHY=y
CONFIG_RTL8367B_PHY=y
CONFIG_RTL8367_PHY=y
CONFIG_SPI=y
-CONFIG_SPI_BITBANG=y
+CONFIG_SPI_LANTIQ=y
CONFIG_SPI_MASTER=y
-CONFIG_SPI_XWAY=y
CONFIG_SYS_SUPPORTS_MIPS16=y
CONFIG_UBIFS_FS=y
CONFIG_UBIFS_FS_ADVANCED_COMPR=y