summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-16 21:18:59 +0000
committerJohn Crispin <john@openwrt.org>2015-02-16 21:18:59 +0000
commitf440414c55f770e02e3b6a4b827b7b3820fd9101 (patch)
tree39b8d2f36dcd797e6ce3180987ca3e84d35ea245 /target/linux
parent5a8d78d710452d9c4bea427881f069f1533bba26 (diff)
downloadmtk-20170518-f440414c55f770e02e3b6a4b827b7b3820fd9101.zip
mtk-20170518-f440414c55f770e02e3b6a4b827b7b3820fd9101.tar.gz
mtk-20170518-f440414c55f770e02e3b6a4b827b7b3820fd9101.tar.bz2
ramips: enables rt288x PCIe
To choose whether bulid or not RT288x PCIe bus driver, CONFIG_SOC_RT2880 is wrong. Here is its fix, and enables PCIe bus driver for some targets which have 2nd WiFi chipset via PCIe bus. signed-off-by: ngc@ff.iij4u.or.jp ———— ———— SVN-Revision: 44469
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/patches-3.14/0031-PCI-MIPS-adds-rt2880-pci-support.patch2
-rw-r--r--target/linux/ramips/patches-3.14/0032-PCI-MIPS-adds-mt7620a-pcie-driver.patch2
-rw-r--r--target/linux/ramips/rt288x/config-3.142
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/patches-3.14/0031-PCI-MIPS-adds-rt2880-pci-support.patch b/target/linux/ramips/patches-3.14/0031-PCI-MIPS-adds-rt2880-pci-support.patch
index 18c5730..987715c 100644
--- a/target/linux/ramips/patches-3.14/0031-PCI-MIPS-adds-rt2880-pci-support.patch
+++ b/target/linux/ramips/patches-3.14/0031-PCI-MIPS-adds-rt2880-pci-support.patch
@@ -19,7 +19,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
obj-$(CONFIG_LANTIQ) += fixup-lantiq.o
obj-$(CONFIG_PCI_LANTIQ) += pci-lantiq.o ops-lantiq.o
obj-$(CONFIG_SOC_MT7621) += pci-mt7621.o
-+obj-$(CONFIG_SOC_RT2880) += pci-rt2880.o
++obj-$(CONFIG_SOC_RT288X) += pci-rt2880.o
obj-$(CONFIG_SOC_RT3883) += pci-rt3883.o
obj-$(CONFIG_TANBAC_TB0219) += fixup-tb0219.o
obj-$(CONFIG_TANBAC_TB0226) += fixup-tb0226.o
diff --git a/target/linux/ramips/patches-3.14/0032-PCI-MIPS-adds-mt7620a-pcie-driver.patch b/target/linux/ramips/patches-3.14/0032-PCI-MIPS-adds-mt7620a-pcie-driver.patch
index ca835da..9405245 100644
--- a/target/linux/ramips/patches-3.14/0032-PCI-MIPS-adds-mt7620a-pcie-driver.patch
+++ b/target/linux/ramips/patches-3.14/0032-PCI-MIPS-adds-mt7620a-pcie-driver.patch
@@ -18,7 +18,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
obj-$(CONFIG_PCI_LANTIQ) += pci-lantiq.o ops-lantiq.o
obj-$(CONFIG_SOC_MT7621) += pci-mt7621.o
+obj-$(CONFIG_SOC_MT7620) += pci-mt7620.o
- obj-$(CONFIG_SOC_RT2880) += pci-rt2880.o
+ obj-$(CONFIG_SOC_RT288X) += pci-rt2880.o
obj-$(CONFIG_SOC_RT3883) += pci-rt3883.o
obj-$(CONFIG_TANBAC_TB0219) += fixup-tb0219.o
--- /dev/null
diff --git a/target/linux/ramips/rt288x/config-3.14 b/target/linux/ramips/rt288x/config-3.14
index 0ed2625..a6451dd 100644
--- a/target/linux/ramips/rt288x/config-3.14
+++ b/target/linux/ramips/rt288x/config-3.14
@@ -124,7 +124,7 @@ CONFIG_OF_MDIO=y
CONFIG_OF_MTD=y
CONFIG_OF_NET=y
CONFIG_PAGEFLAGS_EXTENDED=y
-# CONFIG_PCI is not set
+CONFIG_PCI=y
CONFIG_PERF_USE_VMALLOC=y
CONFIG_PHYLIB=y
# CONFIG_PINCONF is not set