summaryrefslogtreecommitdiff
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
commit57122e7cccad838c604828afd7ff329349f4691a (patch)
tree896372ac24151eb8176c29eb88c733b397a266d0 /target/linux/ramips/rt305x
parent3f986df05f5c07dd705ed085b13d7e19c0a72aa2 (diff)
downloadmtk-20170518-57122e7cccad838c604828afd7ff329349f4691a.zip
mtk-20170518-57122e7cccad838c604828afd7ff329349f4691a.tar.gz
mtk-20170518-57122e7cccad838c604828afd7ff329349f4691a.tar.bz2
ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com> SVN-Revision: 27809
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 1f85b88..ae6d3dc 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