brcm63xx: switch to linux 3.10
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.9 / 034-MIPS-BCM63XX-select-BMIPS4350-and-default-to-2-CPUs-.patch
1 From 158a11f25e070a6ed99cf8faa985da1f2669230f Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Sun, 21 Apr 2013 14:44:00 +0200
4 Subject: [PATCH 3/3] MIPS: BCM63XX: select BMIPS4350 and default to 2 CPUs
5 for supported SoCs
6
7 All BCM63XX SoCs starting with BCM6358 have a BMIPS4350 instead of a
8 BMIPS3300, so select it unless support for any of the older SoCs is
9 selected.
10 All BMIPS4350 have only two CPUs, so select the appropriate default.
11
12 Signed-off-by: Jonas Gorski <jogo@openwrt.org>
13 ---
14 arch/mips/Kconfig | 2 ++
15 1 file changed, 2 insertions(+)
16
17 --- a/arch/mips/Kconfig
18 +++ b/arch/mips/Kconfig
19 @@ -129,6 +129,8 @@ config BCM63XX
20 select DMA_NONCOHERENT
21 select IRQ_CPU
22 select SYS_HAS_CPU_MIPS32_R1
23 + select SYS_HAS_CPU_BMIPS4350 if !BCM63XX_CPU_6338 && !BCM63XX_CPU_6345 && !BCM63XX_CPU_6348
24 + select NR_CPUS_DEFAULT_2
25 select SYS_SUPPORTS_32BIT_KERNEL
26 select SYS_SUPPORTS_BIG_ENDIAN
27 select SYS_HAS_EARLY_PRINTK