aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-12-18 08:12:08 -0500
committerRalf Baechle <ralf@linux-mips.org>2014-01-22 14:18:53 -0500
commit68ac1d6577211534b605186c79a6ee4f5c1ddaa6 (patch)
tree56b7c8aa358c0a4ba6fd07aea577a95ed15fce20
parent10102692803530025ee7862e9df300b88187cfd0 (diff)
MIPS: BCM63XX: let the individual SoCs select the appropriate CPUs
Let each supported chip select the appropirate SYS_HAS_CPU_BMIPS* option for its embedded processor, so support will be conditionally included. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6250/
-rw-r--r--arch/mips/Kconfig1
-rw-r--r--arch/mips/bcm63xx/Kconfig8
2 files changed, 8 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index f2f6c1de2389..17912696994f 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -133,7 +133,6 @@ config BCM63XX
133 select DMA_NONCOHERENT 133 select DMA_NONCOHERENT
134 select IRQ_CPU 134 select IRQ_CPU
135 select SYS_HAS_CPU_MIPS32_R1 135 select SYS_HAS_CPU_MIPS32_R1
136 select SYS_HAS_CPU_BMIPS4350 if !BCM63XX_CPU_6338 && !BCM63XX_CPU_6345 && !BCM63XX_CPU_6348
137 select SYS_SUPPORTS_32BIT_KERNEL 136 select SYS_SUPPORTS_32BIT_KERNEL
138 select SYS_SUPPORTS_BIG_ENDIAN 137 select SYS_SUPPORTS_BIG_ENDIAN
139 select SYS_HAS_EARLY_PRINTK 138 select SYS_HAS_EARLY_PRINTK
diff --git a/arch/mips/bcm63xx/Kconfig b/arch/mips/bcm63xx/Kconfig
index b78306ce56c7..a057fdf111c6 100644
--- a/arch/mips/bcm63xx/Kconfig
+++ b/arch/mips/bcm63xx/Kconfig
@@ -3,33 +3,41 @@ menu "CPU support"
3 3
4config BCM63XX_CPU_3368 4config BCM63XX_CPU_3368
5 bool "support 3368 CPU" 5 bool "support 3368 CPU"
6 select SYS_HAS_CPU_BMIPS4350
6 select HW_HAS_PCI 7 select HW_HAS_PCI
7 8
8config BCM63XX_CPU_6328 9config BCM63XX_CPU_6328
9 bool "support 6328 CPU" 10 bool "support 6328 CPU"
11 select SYS_HAS_CPU_BMIPS4350
10 select HW_HAS_PCI 12 select HW_HAS_PCI
11 13
12config BCM63XX_CPU_6338 14config BCM63XX_CPU_6338
13 bool "support 6338 CPU" 15 bool "support 6338 CPU"
16 select SYS_HAS_CPU_BMIPS32_3300
14 select HW_HAS_PCI 17 select HW_HAS_PCI
15 18
16config BCM63XX_CPU_6345 19config BCM63XX_CPU_6345
17 bool "support 6345 CPU" 20 bool "support 6345 CPU"
21 select SYS_HAS_CPU_BMIPS32_3300
18 22
19config BCM63XX_CPU_6348 23config BCM63XX_CPU_6348
20 bool "support 6348 CPU" 24 bool "support 6348 CPU"
25 select SYS_HAS_CPU_BMIPS32_3300
21 select HW_HAS_PCI 26 select HW_HAS_PCI
22 27
23config BCM63XX_CPU_6358 28config BCM63XX_CPU_6358
24 bool "support 6358 CPU" 29 bool "support 6358 CPU"
30 select SYS_HAS_CPU_BMIPS4350
25 select HW_HAS_PCI 31 select HW_HAS_PCI
26 32
27config BCM63XX_CPU_6362 33config BCM63XX_CPU_6362
28 bool "support 6362 CPU" 34 bool "support 6362 CPU"
35 select SYS_HAS_CPU_BMIPS4350
29 select HW_HAS_PCI 36 select HW_HAS_PCI
30 37
31config BCM63XX_CPU_6368 38config BCM63XX_CPU_6368
32 bool "support 6368 CPU" 39 bool "support 6368 CPU"
40 select SYS_HAS_CPU_BMIPS4350
33 select HW_HAS_PCI 41 select HW_HAS_PCI
34endmenu 42endmenu
35 43