diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-06-03 10:39:35 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-07-01 09:10:52 -0400 |
commit | d6e3469832185db579e5b38fa2e0ff1b79f43886 (patch) | |
tree | 2ec40a2f6468bf7d9910920747e20eadec18ca1d /arch/mips/Kconfig | |
parent | 937ad1042572bb3641fcbbc477f5c6b137b3a5e0 (diff) |
MIPS: BCM63XX: select BMIPS4350 and default to 2 CPUs for supported SoCs
All BCM63XX SoCs starting with BCM6358 have a BMIPS4350 instead of a
BMIPS3300, so select it unless support for any of the older SoCs is
selected.
All BMIPS4350 have only two CPUs, so select the appropriate default.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: John Crispin <blogic@openwrt.org>
Cc: Maxime Bizon <mbizon@freebox.fr>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/5355/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 6dbeb273afc6..26779ccae116 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -126,6 +126,8 @@ config BCM63XX | |||
126 | select DMA_NONCOHERENT | 126 | select DMA_NONCOHERENT |
127 | select IRQ_CPU | 127 | select IRQ_CPU |
128 | select SYS_HAS_CPU_MIPS32_R1 | 128 | select SYS_HAS_CPU_MIPS32_R1 |
129 | select SYS_HAS_CPU_BMIPS4350 if !BCM63XX_CPU_6338 && !BCM63XX_CPU_6345 && !BCM63XX_CPU_6348 | ||
130 | select NR_CPUS_DEFAULT_2 | ||
129 | select SYS_SUPPORTS_32BIT_KERNEL | 131 | select SYS_SUPPORTS_32BIT_KERNEL |
130 | select SYS_SUPPORTS_BIG_ENDIAN | 132 | select SYS_SUPPORTS_BIG_ENDIAN |
131 | select SYS_HAS_EARLY_PRINTK | 133 | select SYS_HAS_EARLY_PRINTK |