diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-08-26 13:09:11 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-08-26 13:09:11 +0000 |
commit | a2b4d75799a33d37b09d2ff1d954ec9a1aadac5b (patch) | |
tree | 94b9f98df4403fff9c8a1471769c592a5d7e5720 /target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/cpu-feature-overrides.h | |
parent | bf392a7fc09b7c425f86d8ece4f3c72d4a956d45 (diff) | |
download | upstream-a2b4d75799a33d37b09d2ff1d954ec9a1aadac5b.tar.gz upstream-a2b4d75799a33d37b09d2ff1d954ec9a1aadac5b.tar.bz2 upstream-a2b4d75799a33d37b09d2ff1d954ec9a1aadac5b.zip |
make overriding of CPU features configurable, and enable it by default
SVN-Revision: 8493
Diffstat (limited to 'target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/cpu-feature-overrides.h')
-rw-r--r-- | target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/cpu-feature-overrides.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/cpu-feature-overrides.h b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/cpu-feature-overrides.h index 54c1edd61b..6216b864f5 100644 --- a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/cpu-feature-overrides.h +++ b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/cpu-feature-overrides.h @@ -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 */ |