[brcm63xx] add support for 2.6.32, dropped the SPI patch for now
[openwrt-10.03/.git] / target / linux / brcm63xx / patches-2.6.32 / 190-typo_cpu_features_override.patch
diff --git a/target/linux/brcm63xx/patches-2.6.32/190-typo_cpu_features_override.patch b/target/linux/brcm63xx/patches-2.6.32/190-typo_cpu_features_override.patch
new file mode 100644 (file)
index 0000000..f321895
--- /dev/null
@@ -0,0 +1,25 @@
+Fix typo: CONFIG_BCMCPU_IS_63xx does not exists,
+CONFIG_BCM63XX_CPU_63xx is the valid config option.
+
+Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
+---
+ .../asm/mach-bcm63xx/cpu-feature-overrides.h       |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h b/arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h
+index 71742ba..f453c01 100644
+--- a/arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h
++++ b/arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h
+@@ -24,7 +24,7 @@
+ #define cpu_has_smartmips             0
+ #define cpu_has_vtag_icache           0
+-#if !defined(BCMCPU_RUNTIME_DETECT) && (defined(CONFIG_BCMCPU_IS_6348) || defined(CONFIG_CPU_IS_6338) || defined(CONFIG_CPU_IS_BCM6345))
++#if !defined(BCMCPU_RUNTIME_DETECT) && (defined(CONFIG_BCM63XX_CPU_6348) || defined(CONFIG_BCM63XX_CPU_6345) || defined(CONFIG_BCM63XX_CPU_6338))
+ #define cpu_has_dc_aliases            0
+ #endif
+-- 
+1.6.3.3
+
+