summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/xway_legacy
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-10-03 14:58:53 +0200
committerMathias Kresin <dev@kresin.me>2017-10-04 20:08:15 +0200
commit66a0f3a39709839c1e46141f5e431974e4bd4cdf (patch)
tree90cf537aa039eb8abb8223196d6377efdeee471e /target/linux/lantiq/xway_legacy
parent77fee9bcce5cb118be6e1f8168cf5a0fe6dcf2b7 (diff)
downloadmtk-20170518-66a0f3a39709839c1e46141f5e431974e4bd4cdf.zip
mtk-20170518-66a0f3a39709839c1e46141f5e431974e4bd4cdf.tar.gz
mtk-20170518-66a0f3a39709839c1e46141f5e431974e4bd4cdf.tar.bz2
lantiq: select PCI support in subtargets
AmazonSE and Falcon do not have support for PCI and it can't be unselected in the subtarget kernel config. This way the enabled PCI support is inherit from the higher level config to the subtarget. If CONFIG_PCI is selected, PCI_SUPPORT will be autoselected as well and all packages depending on this config symbol will be build and at least some of them fail due to missing pci functions. The issue can be observed if all kmods and all non-shared packages are build. Fix the issue by enabling PCI support only in subtargets with PCI support. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/xway_legacy')
-rw-r--r--target/linux/lantiq/xway_legacy/config-default8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/lantiq/xway_legacy/config-default b/target/linux/lantiq/xway_legacy/config-default
index b838106..c8aa631 100644
--- a/target/linux/lantiq/xway_legacy/config-default
+++ b/target/linux/lantiq/xway_legacy/config-default
@@ -1,5 +1,6 @@
CONFIG_ADM6996_PHY=y
CONFIG_AR8216_PHY=y
+CONFIG_BLK_MQ_PCI=y
CONFIG_CRC16=y
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_LZO=y
@@ -16,6 +17,13 @@ CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
# CONFIG_MTD_PHYSMAP_OF is not set
CONFIG_NLS=y
+CONFIG_OF_ADDRESS_PCI=y
+CONFIG_OF_PCI=y
+CONFIG_OF_PCI_IRQ=y
+CONFIG_PCI=y
+# CONFIG_PCIE_LANTIQ is not set
+CONFIG_PCI_DOMAINS=y
+CONFIG_PCI_LANTIQ=y
CONFIG_RTL8306_PHY=y
CONFIG_RTL8366S_PHY=y
CONFIG_RTL8367B_PHY=y