aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/rt305x
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:25 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:25 +0000
commita5c4fa95265639eee73efbc1a2aa94c513ae5b81 (patch)
treedd5aefd9f2874d7bed7f360cb63b5fc080c12670 /target/linux/ramips/rt305x
parent5ce157d053852705977d08e8983717e954ec74ee (diff)
downloadupstream-a5c4fa95265639eee73efbc1a2aa94c513ae5b81.tar.gz
upstream-a5c4fa95265639eee73efbc1a2aa94c513ae5b81.tar.bz2
upstream-a5c4fa95265639eee73efbc1a2aa94c513ae5b81.zip
ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27809 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/rt305x')
-rw-r--r--target/linux/ramips/rt305x/config-2.6.395
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/rt305x/config-2.6.39 b/target/linux/ramips/rt305x/config-2.6.39
index 1f85b88155..ae6d3dca75 100644
--- a/target/linux/ramips/rt305x/config-2.6.39
+++ b/target/linux/ramips/rt305x/config-2.6.39
@@ -104,6 +104,11 @@ CONFIG_SERIAL_8250_RT288X=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
CONFIG_SOC_RT305X=y
+CONFIG_SPI=y
+# CONFIG_SPI_BITBANG is not set
+# CONFIG_SPI_GPIO is not set
+CONFIG_SPI_MASTER=y
+CONFIG_SPI_RAMIPS=y
CONFIG_SYS_HAS_CPU_MIPS32_R1=y
CONFIG_SYS_HAS_CPU_MIPS32_R2=y
CONFIG_SYS_HAS_EARLY_PRINTK=y