summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-21 22:56:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-11-21 22:56:33 +0000
commit1a9b885c74004062ea086a5cd0f7cb93c0ebb574 (patch)
treefaf974cd714f2889e7ad8dbc3da6be92b025da71 /target/linux
parenta17751cb1a1d6a81f1029b91414a98c0c2562063 (diff)
downloadmtk-20170518-1a9b885c74004062ea086a5cd0f7cb93c0ebb574.zip
mtk-20170518-1a9b885c74004062ea086a5cd0f7cb93c0ebb574.tar.gz
mtk-20170518-1a9b885c74004062ea086a5cd0f7cb93c0ebb574.tar.bz2
x86: turn off CONFIG_X86_GENERIC for geos and net5501
CONFIG_X86_GENERIC obscures CONFIG_MGEODE_LX, etc. and causes it to use wrong cache-line size. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 24071
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/x86/geos/config-default2
-rw-r--r--target/linux/x86/net5501/config-default5
2 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/x86/geos/config-default b/target/linux/x86/geos/config-default
index 8d6e3ae..071f754 100644
--- a/target/linux/x86/geos/config-default
+++ b/target/linux/x86/geos/config-default
@@ -20,6 +20,8 @@ CONFIG_PROCESSOR_SELECT=y
# CONFIG_SERIO_LIBPS2 is not set
CONFIG_X86_DEBUGCTLMSR=y
# CONFIG_X86_DS is not set
+# CONFIG_X86_GENERIC is not set
+CONFIG_X86_INTERNODE_CACHE_SHIFT=5
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_TSC=y
CONFIG_X86_USE_3DNOW=y
diff --git a/target/linux/x86/net5501/config-default b/target/linux/x86/net5501/config-default
index 77f6337..1736027 100644
--- a/target/linux/x86/net5501/config-default
+++ b/target/linux/x86/net5501/config-default
@@ -34,8 +34,9 @@ CONFIG_SCSI_MOD=y
# CONFIG_TINY_RCU is not set
CONFIG_X86_CMOV=y
CONFIG_X86_DEBUGCTLMSR=y
-CONFIG_X86_INTERNODE_CACHE_SHIFT=6
-CONFIG_X86_L1_CACHE_SHIFT=6
+# CONFIG_X86_GENERIC is not set
+CONFIG_X86_INTERNODE_CACHE_SHIFT=5
+CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_TSC=y
CONFIG_X86_USE_3DNOW=y
CONFIG_X86_USE_PPRO_CHECKSUM=y