diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-15 14:05:32 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-11-22 21:45:34 -0500 |
commit | eb01d42a77785ff96b6e66a2a2e7027fc6d78e4a (patch) | |
tree | 0f3c88c8483ddf584f07f78111c8e0709a29fbe5 /arch/mips/ralink | |
parent | 437f2b8c20858a9a27fed4066ed679f92b982f38 (diff) |
PCI: consolidate PCI config entry in drivers/pci
There is no good reason to duplicate the PCI menu in every architecture.
Instead provide a selectable HAVE_PCI symbol that indicates availability
of PCI support, and a FORCE_PCI symbol to for PCI on and the handle the
rest in drivers/pci.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/mips/ralink')
-rw-r--r-- | arch/mips/ralink/Kconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig index 1f9cb0e3c79a..4c8006b4a5f7 100644 --- a/arch/mips/ralink/Kconfig +++ b/arch/mips/ralink/Kconfig | |||
@@ -27,18 +27,18 @@ choice | |||
27 | config SOC_RT288X | 27 | config SOC_RT288X |
28 | bool "RT288x" | 28 | bool "RT288x" |
29 | select MIPS_L1_CACHE_SHIFT_4 | 29 | select MIPS_L1_CACHE_SHIFT_4 |
30 | select HW_HAS_PCI | 30 | select HAVE_PCI |
31 | 31 | ||
32 | config SOC_RT305X | 32 | config SOC_RT305X |
33 | bool "RT305x" | 33 | bool "RT305x" |
34 | 34 | ||
35 | config SOC_RT3883 | 35 | config SOC_RT3883 |
36 | bool "RT3883" | 36 | bool "RT3883" |
37 | select HW_HAS_PCI | 37 | select HAVE_PCI |
38 | 38 | ||
39 | config SOC_MT7620 | 39 | config SOC_MT7620 |
40 | bool "MT7620/8" | 40 | bool "MT7620/8" |
41 | select HW_HAS_PCI | 41 | select HAVE_PCI |
42 | 42 | ||
43 | config SOC_MT7621 | 43 | config SOC_MT7621 |
44 | bool "MT7621" | 44 | bool "MT7621" |
@@ -50,7 +50,7 @@ choice | |||
50 | select MIPS_GIC | 50 | select MIPS_GIC |
51 | select COMMON_CLK | 51 | select COMMON_CLK |
52 | select CLKSRC_MIPS_GIC | 52 | select CLKSRC_MIPS_GIC |
53 | select HW_HAS_PCI | 53 | select HAVE_PCI |
54 | endchoice | 54 | endchoice |
55 | 55 | ||
56 | choice | 56 | choice |