OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From 3fc8585cf76022dba7496627074d42af88c30718 Mon Sep 17 00:00:00 2001 |
2 | From: John Crispin <john@phrozen.org> |
||
3 | Date: Sat, 23 Jun 2018 15:16:55 +0200 |
||
4 | Subject: [PATCH 32/33] MIPS: ath79: sanitize symbols |
||
5 | |||
6 | We no longer need to select which SoCs are supported as the whole arch |
||
7 | code is always built. So lets drop all the SoC symbols |
||
8 | |||
9 | Signed-off-by: John Crispin <john@phrozen.org> |
||
10 | --- |
||
11 | arch/mips/Kconfig | 2 ++ |
||
12 | arch/mips/ath79/Kconfig | 44 +++++--------------------------------------- |
||
13 | arch/mips/pci/Makefile | 2 +- |
||
14 | 3 files changed, 8 insertions(+), 40 deletions(-) |
||
15 | |||
16 | --- a/arch/mips/Kconfig |
||
17 | +++ b/arch/mips/Kconfig |
||
18 | @@ -203,6 +203,8 @@ config ATH79 |
||
19 | select SYS_SUPPORTS_BIG_ENDIAN |
||
20 | select SYS_SUPPORTS_MIPS16 |
||
21 | select SYS_SUPPORTS_ZBOOT_UART_PROM |
||
22 | + select HW_HAS_PCI |
||
23 | + select USB_ARCH_HAS_EHCI |
||
24 | select USE_OF |
||
25 | help |
||
26 | Support for the Atheros AR71XX/AR724X/AR913X SoCs. |
||
27 | --- a/arch/mips/ath79/Kconfig |
||
28 | +++ b/arch/mips/ath79/Kconfig |
||
29 | @@ -1,48 +1,14 @@ |
||
30 | # SPDX-License-Identifier: GPL-2.0 |
||
31 | if ATH79 |
||
32 | |||
33 | -config SOC_AR71XX |
||
34 | - select HW_HAS_PCI |
||
35 | - def_bool n |
||
36 | - |
||
37 | -config SOC_AR724X |
||
38 | - select HW_HAS_PCI |
||
39 | - select PCI_AR724X if PCI |
||
40 | - def_bool n |
||
41 | - |
||
42 | -config SOC_AR913X |
||
43 | - def_bool n |
||
44 | - |
||
45 | -config SOC_AR933X |
||
46 | - def_bool n |
||
47 | - |
||
48 | -config SOC_AR934X |
||
49 | - select HW_HAS_PCI |
||
50 | - select PCI_AR724X if PCI |
||
51 | - def_bool n |
||
52 | - |
||
53 | -config SOC_QCA955X |
||
54 | - select HW_HAS_PCI |
||
55 | - select PCI_AR724X if PCI |
||
56 | +config PCI_AR71XX |
||
57 | + bool "PCI support for AR7100 type SoCs" |
||
58 | + depends on PCI |
||
59 | def_bool n |
||
60 | |||
61 | config PCI_AR724X |
||
62 | - def_bool n |
||
63 | - |
||
64 | -config ATH79_DEV_GPIO_BUTTONS |
||
65 | - def_bool n |
||
66 | - |
||
67 | -config ATH79_DEV_LEDS_GPIO |
||
68 | - def_bool n |
||
69 | - |
||
70 | -config ATH79_DEV_SPI |
||
71 | - def_bool n |
||
72 | - |
||
73 | -config ATH79_DEV_USB |
||
74 | - def_bool n |
||
75 | - |
||
76 | -config ATH79_DEV_WMAC |
||
77 | - depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA955X) |
||
78 | + bool "PCI support for AR724x type SoCs" |
||
79 | + depends on PCI |
||
80 | def_bool n |
||
81 | |||
82 | endif |
||
83 | --- a/arch/mips/pci/Makefile |
||
84 | +++ b/arch/mips/pci/Makefile |
||
85 | @@ -23,7 +23,7 @@ obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o |
||
86 | ops-bcm63xx.o |
||
87 | obj-$(CONFIG_MIPS_ALCHEMY) += pci-alchemy.o |
||
88 | obj-$(CONFIG_PCI_AR2315) += pci-ar2315.o |
||
89 | -obj-$(CONFIG_SOC_AR71XX) += pci-ar71xx.o |
||
90 | +obj-$(CONFIG_PCI_AR71XX) += pci-ar71xx.o |
||
91 | obj-$(CONFIG_PCI_AR724X) += pci-ar724x.o |
||
92 | obj-$(CONFIG_MIPS_PCI_VIRTIO) += pci-virtio-guest.o |
||
93 | # |