[adm5120] make overriding of CPU features configurable, and enable it by default
[openwrt.git] / target / linux / adm5120-2.6 / files / include / asm-mips / mach-adm5120 / cpu-feature-overrides.h
index 54c1edd..6216b86 100644 (file)
@@ -28,6 +28,8 @@
 #ifndef __ASM_MACH_ADM5120_CPU_FEATURE_OVERRIDES_H
 #define __ASM_MACH_ADM5120_CPU_FEATURE_OVERRIDES_H
 
+#ifdef CONFIG_ADM5120_CPU_OVERRIDES
+
 /*
  * The ADM5120 SOC has a built-in MIPS 4Kc core.
  */
@@ -81,4 +83,7 @@
 #define cpu_dcache_line_size()         16
 #define cpu_icache_line_size()         16
 
+#endif  /* CONFIG_ADM5120_CPU_OVERRIDES */
+
+
 #endif /* __ASM_MACH_ADM5120_CPU_FEATURE_OVERRIDES_H */
This page took 0.026936 seconds and 4 git commands to generate.