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/bcm63xx | |
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/bcm63xx')
-rw-r--r-- | arch/mips/bcm63xx/Kconfig | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/bcm63xx/Kconfig b/arch/mips/bcm63xx/Kconfig index 96ed735a4f4a..837f6e5a2f37 100644 --- a/arch/mips/bcm63xx/Kconfig +++ b/arch/mips/bcm63xx/Kconfig | |||
@@ -5,17 +5,17 @@ menu "CPU support" | |||
5 | config BCM63XX_CPU_3368 | 5 | config BCM63XX_CPU_3368 |
6 | bool "support 3368 CPU" | 6 | bool "support 3368 CPU" |
7 | select SYS_HAS_CPU_BMIPS4350 | 7 | select SYS_HAS_CPU_BMIPS4350 |
8 | select HW_HAS_PCI | 8 | select HAVE_PCI |
9 | 9 | ||
10 | config BCM63XX_CPU_6328 | 10 | config BCM63XX_CPU_6328 |
11 | bool "support 6328 CPU" | 11 | bool "support 6328 CPU" |
12 | select SYS_HAS_CPU_BMIPS4350 | 12 | select SYS_HAS_CPU_BMIPS4350 |
13 | select HW_HAS_PCI | 13 | select HAVE_PCI |
14 | 14 | ||
15 | config BCM63XX_CPU_6338 | 15 | config BCM63XX_CPU_6338 |
16 | bool "support 6338 CPU" | 16 | bool "support 6338 CPU" |
17 | select SYS_HAS_CPU_BMIPS32_3300 | 17 | select SYS_HAS_CPU_BMIPS32_3300 |
18 | select HW_HAS_PCI | 18 | select HAVE_PCI |
19 | 19 | ||
20 | config BCM63XX_CPU_6345 | 20 | config BCM63XX_CPU_6345 |
21 | bool "support 6345 CPU" | 21 | bool "support 6345 CPU" |
@@ -24,22 +24,22 @@ config BCM63XX_CPU_6345 | |||
24 | config BCM63XX_CPU_6348 | 24 | config BCM63XX_CPU_6348 |
25 | bool "support 6348 CPU" | 25 | bool "support 6348 CPU" |
26 | select SYS_HAS_CPU_BMIPS32_3300 | 26 | select SYS_HAS_CPU_BMIPS32_3300 |
27 | select HW_HAS_PCI | 27 | select HAVE_PCI |
28 | 28 | ||
29 | config BCM63XX_CPU_6358 | 29 | config BCM63XX_CPU_6358 |
30 | bool "support 6358 CPU" | 30 | bool "support 6358 CPU" |
31 | select SYS_HAS_CPU_BMIPS4350 | 31 | select SYS_HAS_CPU_BMIPS4350 |
32 | select HW_HAS_PCI | 32 | select HAVE_PCI |
33 | 33 | ||
34 | config BCM63XX_CPU_6362 | 34 | config BCM63XX_CPU_6362 |
35 | bool "support 6362 CPU" | 35 | bool "support 6362 CPU" |
36 | select SYS_HAS_CPU_BMIPS4350 | 36 | select SYS_HAS_CPU_BMIPS4350 |
37 | select HW_HAS_PCI | 37 | select HAVE_PCI |
38 | 38 | ||
39 | config BCM63XX_CPU_6368 | 39 | config BCM63XX_CPU_6368 |
40 | bool "support 6368 CPU" | 40 | bool "support 6368 CPU" |
41 | select SYS_HAS_CPU_BMIPS4350 | 41 | select SYS_HAS_CPU_BMIPS4350 |
42 | select HW_HAS_PCI | 42 | select HAVE_PCI |
43 | endmenu | 43 | endmenu |
44 | 44 | ||
45 | source "arch/mips/bcm63xx/boards/Kconfig" | 45 | source "arch/mips/bcm63xx/boards/Kconfig" |