aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/xway/config-default
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
commitd5995af8d34210a17e35d547635533fc408eaadb (patch)
tree38fae3f60931cab743e717b3b1cfaa43d939b3ea /target/linux/lantiq/xway/config-default
parentd599380c29b6535d16cae0d70461935fae14361a (diff)
downloadmaster-187ad058-d5995af8d34210a17e35d547635533fc408eaadb.tar.gz
master-187ad058-d5995af8d34210a17e35d547635533fc408eaadb.tar.bz2
master-187ad058-d5995af8d34210a17e35d547635533fc408eaadb.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48293 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/xway/config-default')
-rw-r--r--target/linux/lantiq/xway/config-default3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/lantiq/xway/config-default b/target/linux/lantiq/xway/config-default
index 974b06b9d5..ae13f80510 100644
--- a/target/linux/lantiq/xway/config-default
+++ b/target/linux/lantiq/xway/config-default
@@ -54,9 +54,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