diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-09-06 19:01:17 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-09-06 19:01:17 +0000 |
commit | 7f0189d4b0db4839ebc9520be0272078c7fbb0f1 (patch) | |
tree | b31741327b2830918dbd45b4d440b49ec4cb125d /target/linux/brcm63xx/patches-3.9/044-MIPS-BCM63XX-Enable-second-core-SMP-on-BCM6328-if-av.patch | |
parent | c83d912672ea303458916c43c38ebdcad3f730bf (diff) | |
download | master-187ad058-7f0189d4b0db4839ebc9520be0272078c7fbb0f1.tar.gz master-187ad058-7f0189d4b0db4839ebc9520be0272078c7fbb0f1.tar.bz2 master-187ad058-7f0189d4b0db4839ebc9520be0272078c7fbb0f1.zip |
brcm63xx: drop linux 3.9 support
It is EOL since quite a while, so no need to keep it around.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37911 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.9/044-MIPS-BCM63XX-Enable-second-core-SMP-on-BCM6328-if-av.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.9/044-MIPS-BCM63XX-Enable-second-core-SMP-on-BCM6328-if-av.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/target/linux/brcm63xx/patches-3.9/044-MIPS-BCM63XX-Enable-second-core-SMP-on-BCM6328-if-av.patch b/target/linux/brcm63xx/patches-3.9/044-MIPS-BCM63XX-Enable-second-core-SMP-on-BCM6328-if-av.patch deleted file mode 100644 index 45a82f52f3..0000000000 --- a/target/linux/brcm63xx/patches-3.9/044-MIPS-BCM63XX-Enable-second-core-SMP-on-BCM6328-if-av.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 41fa6dec9df9b4e55ac522c899270a72e51a9b4b Mon Sep 17 00:00:00 2001 -From: Jonas Gorski <jogo@openwrt.org> -Date: Sat, 9 Jul 2011 12:15:06 -0700 -Subject: [PATCH V2 2/2] MIPS: BCM63XX: Enable second core SMP on BCM6328 if - available - -BCM6328 has a OTP which tells us if the second core is available. - -Signed-off-by: Jonas Gorski <jogo@openwrt.org> ---- - arch/mips/bcm63xx/prom.c | 6 +++++- - arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h | 2 ++ - arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h | 7 +++++++ - 3 files changed, 14 insertions(+), 1 deletion(-) - ---- a/arch/mips/bcm63xx/prom.c -+++ b/arch/mips/bcm63xx/prom.c -@@ -69,7 +69,11 @@ void __init prom_init(void) - * for now. - */ - if (BCMCPU_IS_6328()) { -- bmips_smp_enabled = 0; -+ reg = bcm_readl(BCM_6328_OTP_BASE + -+ OTP_USER_BITS_6328_REG(3)); -+ -+ if (reg & OTP_6328_REG3_TP1_DISABLED) -+ bmips_smp_enabled = 0; - } else if (BCMCPU_IS_6358()) { - bmips_smp_enabled = 0; - } ---- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h -+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h -@@ -296,6 +296,8 @@ enum bcm63xx_regs_set { - #define BCM_6328_PCMDMAS_BASE (0xdeadbeef) - #define BCM_6328_RNG_BASE (0xdeadbeef) - #define BCM_6328_MISC_BASE (0xb0001800) -+#define BCM_6328_OTP_BASE (0xb0000600) -+ - /* - * 6338 register sets base address - */ ---- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h -+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h -@@ -1477,4 +1477,11 @@ - - #define PCIE_DEVICE_OFFSET 0x8000 - -+/************************************************************************* -+ * _REG relative to RSET_OTP -+ *************************************************************************/ -+ -+#define OTP_USER_BITS_6328_REG(i) (0x20 + (i) * 4) -+#define OTP_6328_REG3_TP1_DISABLED BIT(9) -+ - #endif /* BCM63XX_REGS_H_ */ |