1 From deda44895d289a72a235359fc21f8a62ea44dc1c Mon Sep 17 00:00:00 2001
2 From: John Crispin <john@phrozen.org>
3 Date: Tue, 6 Mar 2018 09:33:26 +0100
4 Subject: [PATCH 26/27] MIPS: ath79: sanitize Kconfig symbols
6 Signed-off-by: John Crispin <john@phrozen.org>
8 arch/mips/Kconfig | 2 ++
9 arch/mips/ath79/Kconfig | 48 +++++-------------------------------------------
10 arch/mips/ath79/Makefile | 10 ----------
11 arch/mips/pci/Makefile | 2 +-
12 4 files changed, 8 insertions(+), 54 deletions(-)
14 --- a/arch/mips/Kconfig
15 +++ b/arch/mips/Kconfig
16 @@ -203,6 +203,8 @@ config ATH79
17 select SYS_SUPPORTS_BIG_ENDIAN
18 select SYS_SUPPORTS_MIPS16
19 select SYS_SUPPORTS_ZBOOT_UART_PROM
21 + select USB_ARCH_HAS_EHCI
24 Support for the Atheros AR71XX/AR724X/AR913X SoCs.
25 --- a/arch/mips/ath79/Kconfig
26 +++ b/arch/mips/ath79/Kconfig
28 # SPDX-License-Identifier: GPL-2.0
37 - select PCI_AR724X if PCI
48 - select PCI_AR724X if PCI
52 - select USB_ARCH_HAS_EHCI
57 - select PCI_AR724X if PCI
59 + bool "PCI support for AR7100 type SoCs"
66 -config ATH79_DEV_GPIO_BUTTONS
69 -config ATH79_DEV_LEDS_GPIO
78 -config ATH79_DEV_WMAC
79 - depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA953X || SOC_QCA955X || SOC_QCA956X)
80 + bool "PCI support for AR724x type SoCs"
85 --- a/arch/mips/ath79/Makefile
86 +++ b/arch/mips/ath79/Makefile
88 obj-y := prom.o setup.o common.o clock.o
90 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
95 -obj-y += dev-common.o
96 -obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o
97 -obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev-leds-gpio.o
98 -obj-$(CONFIG_ATH79_DEV_SPI) += dev-spi.o
99 -obj-$(CONFIG_ATH79_DEV_USB) += dev-usb.o
100 -obj-$(CONFIG_ATH79_DEV_WMAC) += dev-wmac.o
101 --- a/arch/mips/pci/Makefile
102 +++ b/arch/mips/pci/Makefile
103 @@ -23,7 +23,7 @@ obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o
105 obj-$(CONFIG_MIPS_ALCHEMY) += pci-alchemy.o
106 obj-$(CONFIG_PCI_AR2315) += pci-ar2315.o
107 -obj-$(CONFIG_SOC_AR71XX) += pci-ar71xx.o
108 +obj-$(CONFIG_PCI_AR71XX) += pci-ar71xx.o
109 obj-$(CONFIG_PCI_AR724X) += pci-ar724x.o
110 obj-$(CONFIG_MIPS_PCI_VIRTIO) += pci-virtio-guest.o