summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-11-22 18:16:55 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-11-22 18:16:55 +0000
commit26df9231fa6148d1804d5c8314b5e83eb7ef2b40 (patch)
treede275f8abd9fea6a5522c942e15f3ea12bf88560 /target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch
parent1a0a584ea6c4dea873b7c33d1ef340fed60efff2 (diff)
downloadmtk-20170518-26df9231fa6148d1804d5c8314b5e83eb7ef2b40.zip
mtk-20170518-26df9231fa6148d1804d5c8314b5e83eb7ef2b40.tar.gz
mtk-20170518-26df9231fa6148d1804d5c8314b5e83eb7ef2b40.tar.bz2
linux/brcm47xx: properly fix r24096
SVN-Revision: 24102
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch b/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch
index eae16b0..18d2866 100644
--- a/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch
+++ b/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch
@@ -299,7 +299,7 @@
* silly idea of putting something else there ...
*/
switch (current_cpu_type()) {
-+ case CPU_BCM3302:
++ case CPU_BMIPS3300:
+ {
+ u32 cm;
+ cm = read_c0_diag();
@@ -319,7 +319,7 @@
+ /* Check if special workarounds are required */
+#ifdef CONFIG_BCM47XX
-+ if (current_cpu_data.cputype == CPU_BCM4710 && (current_cpu_data.processor_id & 0xff) == 0) {
++ if (current_cpu_data.cputype == CPU_BMIPS4KC && (current_cpu_data.processor_id & 0xff) == 0) {
+ printk("Enabling BCM4710A0 cache workarounds.\n");
+ bcm4710 = 1;
+ } else