mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user