diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-08-26 13:09:11 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-08-26 13:09:11 +0000 |
commit | 6b9dfc5e20907df3c2d00331cd10ae8a0e3247d8 (patch) | |
tree | 8bf9e4e77abf4983f47fe777af3291cf82f2b4c2 /target/linux/adm5120-2.6/files/include | |
parent | 55b9f8f5dd087dc2b9d2b100a1ab73bae03d5e6f (diff) |
[adm5120] make overriding of CPU features configurable, and enable it by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8493 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/include')
-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 54c1edd61..6216b864f 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 */ |