X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/5ee9afcc22911391ea439353b4e8e984b8976f38..53a0966f40913d68d81521450b2a3836fabdc5ef:/target/linux/brcm63xx/patches-2.6.27/001-add_broadcom_63xx_cpu_definitions.patch diff --git a/target/linux/brcm63xx/patches-2.6.27/001-add_broadcom_63xx_cpu_definitions.patch b/target/linux/brcm63xx/patches-2.6.27/001-add_broadcom_63xx_cpu_definitions.patch index cda918151..163f8bea5 100644 --- a/target/linux/brcm63xx/patches-2.6.27/001-add_broadcom_63xx_cpu_definitions.patch +++ b/target/linux/brcm63xx/patches-2.6.27/001-add_broadcom_63xx_cpu_definitions.patch @@ -10,22 +10,19 @@ Signed-off-by: Maxime Bizon include/asm-mips/cpu.h | 7 +++++++ 3 files changed, 36 insertions(+), 0 deletions(-) -diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c -index e621fda..9775315 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c -@@ -153,6 +153,10 @@ void __init check_wait(void) +@@ -153,6 +153,9 @@ void __init check_wait(void) case CPU_25KF: case CPU_PR4450: case CPU_BCM3302: + case CPU_BCM6338: -+ case CPU_BCM6345: + case CPU_BCM6348: + case CPU_BCM6358: cpu_wait = r4k_wait; break; -@@ -802,11 +806,28 @@ static inline void cpu_probe_broadcom(struct cpuinfo_mips *c) +@@ -802,11 +805,28 @@ static inline void cpu_probe_broadcom(st decode_configs(c); switch (c->processor_id & 0xff00) { case PRID_IMP_BCM3302: @@ -54,7 +51,7 @@ index e621fda..9775315 100644 default: c->cputype = CPU_UNKNOWN; break; -@@ -892,6 +913,10 @@ static __cpuinit const char *cpu_to_name(struct cpuinfo_mips *c) +@@ -892,6 +912,10 @@ static __cpuinit const char *cpu_to_name case CPU_SR71000: name = "Sandcraft SR71000"; break; case CPU_BCM3302: name = "Broadcom BCM3302"; break; case CPU_BCM4710: name = "Broadcom BCM4710"; break; @@ -65,11 +62,9 @@ index e621fda..9775315 100644 case CPU_PR4450: name = "Philips PR4450"; break; case CPU_LOONGSON2: name = "ICT Loongson-2"; break; default: -diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c -index 979cf91..f6deda3 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c -@@ -317,6 +317,10 @@ static void __cpuinit build_tlb_write_entry(u32 **p, struct uasm_label **l, +@@ -317,6 +317,10 @@ static void __cpuinit build_tlb_write_en case CPU_BCM3302: case CPU_BCM4710: case CPU_LOONGSON2: @@ -80,8 +75,6 @@ index 979cf91..f6deda3 100644 if (m4kc_tlbp_war()) uasm_i_nop(p); tlbw(p); -diff --git a/include/asm-mips/cpu.h b/include/asm-mips/cpu.h -index 229a786..538bcde 100644 --- a/include/asm-mips/cpu.h +++ b/include/asm-mips/cpu.h @@ -112,6 +112,12 @@ @@ -105,6 +98,3 @@ index 229a786..538bcde 100644 /* * MIPS64 class processors --- -1.5.4.3 -