1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:30:16 +02: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:
juhosg 2007-08-26 13:09:11 +00:00
parent 55b9f8f5dd
commit 6b9dfc5e20
4 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,7 @@
CONFIG_32BIT=y
# CONFIG_64BIT is not set
# CONFIG_64BIT_PHYS_ADDR is not set
CONFIG_ADM5120_CPU_OVERRIDES=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set

View File

@ -2,6 +2,10 @@ if MIPS_ADM5120
menu "ADM5120 Implementation Options"
config ADM5120_CPU_OVERRIDES
bool "Enable CPU feature overrides"
default y
config PCI_ADM5120
bool "Enable PCI support"
select PCI

View 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 */

View File

@ -1,6 +1,7 @@
CONFIG_32BIT=y
# CONFIG_64BIT is not set
# CONFIG_64BIT_PHYS_ADDR is not set
CONFIG_ADM5120_CPU_OVERRIDES=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set