From: John Crispin Date: Mon, 16 Feb 2015 21:18:59 +0000 (+0000) Subject: ramips: enables rt288x PCIe X-Git-Tag: reboot~4242 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f440414c55f770e02e3b6a4b827b7b3820fd9101;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 18c573093991..987715c60a6e 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 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 ca835dafb37b..9405245a6800 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 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 0ed26259ef25..a6451dd47074 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