From 66a0f3a39709839c1e46141f5e431974e4bd4cdf Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Tue, 3 Oct 2017 14:58:53 +0200 Subject: 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 --- target/linux/lantiq/xrx200/config-default | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'target/linux/lantiq/xrx200') diff --git a/target/linux/lantiq/xrx200/config-default b/target/linux/lantiq/xrx200/config-default index 7b092348df..73ccaf34ab 100644 --- a/target/linux/lantiq/xrx200/config-default +++ b/target/linux/lantiq/xrx200/config-default @@ -1,6 +1,7 @@ CONFIG_ADM6996_PHY=y CONFIG_AR8216_PHY=y CONFIG_AT803X_PHY=y +CONFIG_BLK_MQ_PCI=y CONFIG_CPU_MIPSR2_IRQ_EI=y CONFIG_CPU_MIPSR2_IRQ_VI=y CONFIG_CPU_RMAP=y @@ -48,8 +49,14 @@ CONFIG_MTD_UBI_WL_THRESHOLD=4096 CONFIG_NET_FLOW_LIMIT=y CONFIG_NLS=y CONFIG_NR_CPUS=2 +CONFIG_OF_ADDRESS_PCI=y +CONFIG_OF_PCI=y +CONFIG_OF_PCI_IRQ=y CONFIG_PADATA=y +CONFIG_PCI=y CONFIG_PCIE_LANTIQ=y +CONFIG_PCI_DOMAINS=y +CONFIG_PCI_LANTIQ=y CONFIG_POWER_RESET=y CONFIG_POWER_RESET_GPIO=y CONFIG_POWER_SUPPLY=y -- cgit v1.2.3