]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: BCM63XX: select BMIPS4350 and default to 2 CPUs for supported SoCs
authorJonas Gorski <jogo@openwrt.org>
Mon, 3 Jun 2013 14:39:35 +0000 (14:39 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 18 Jun 2013 12:59:05 +0000 (14:59 +0200)
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>
arch/mips/Kconfig

index 6dbeb273afc60481f9e43be2c3adc2563ba5f560..26779ccae116a89fbd4de2af0e1c2b09d67868a2 100644 (file)
@@ -126,6 +126,8 @@ config BCM63XX
        select DMA_NONCOHERENT
        select IRQ_CPU
        select SYS_HAS_CPU_MIPS32_R1
+       select SYS_HAS_CPU_BMIPS4350 if !BCM63XX_CPU_6338 && !BCM63XX_CPU_6345 && !BCM63XX_CPU_6348
+       select NR_CPUS_DEFAULT_2
        select SYS_SUPPORTS_32BIT_KERNEL
        select SYS_SUPPORTS_BIG_ENDIAN
        select SYS_HAS_EARLY_PRINTK