summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/linux-2.4/patches/soekris/001-mgeode-cpu.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-23 18:47:07 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-23 18:47:07 +0000
commitd531438a014a806dbb8c8b7cf0acbab57d806d91 (patch)
tree02022ca389b99e8895a0687f0373bfbd398a7ae7 /openwrt/target/linux/linux-2.4/patches/soekris/001-mgeode-cpu.patch
parentc3e51ef17d4074dd7f10c14e8a0fe511a612fe2a (diff)
downloadmtk-20170518-d531438a014a806dbb8c8b7cf0acbab57d806d91.zip
mtk-20170518-d531438a014a806dbb8c8b7cf0acbab57d806d91.tar.gz
mtk-20170518-d531438a014a806dbb8c8b7cf0acbab57d806d91.tar.bz2
rename soekris port to x86
SVN-Revision: 2285
Diffstat (limited to 'openwrt/target/linux/linux-2.4/patches/soekris/001-mgeode-cpu.patch')
-rw-r--r--openwrt/target/linux/linux-2.4/patches/soekris/001-mgeode-cpu.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/openwrt/target/linux/linux-2.4/patches/soekris/001-mgeode-cpu.patch b/openwrt/target/linux/linux-2.4/patches/soekris/001-mgeode-cpu.patch
deleted file mode 100644
index 662d4f2..0000000
--- a/openwrt/target/linux/linux-2.4/patches/soekris/001-mgeode-cpu.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -Nur linux-2.4.29/arch/i386/Makefile linux-2.4.29_geode/arch/i386/Makefile
---- linux-2.4.29/arch/i386/Makefile Wed Nov 17 12:54:21 2004
-+++ linux-2.4.29_geode/arch/i386/Makefile Tue Feb 15 23:41:54 2005
-@@ -94,6 +94,10 @@
- CFLAGS += $(call check_gcc,-march=c3-2,-march=i686)
- endif
-
-+ifdef CONFIG_MGEODE
-+CFLAGS += -march=i586
-+endif
-+
- # Disable unit-at-a-time mode, it makes gcc use a lot more stack
- # due to the lack of sharing of stacklots.
- CFLAGS += $(call check_gcc,-fno-unit-at-a-time,)
-diff -Nur linux-2.4.29/arch/i386/config.in linux-2.4.29_geode/arch/i386/config.in
---- linux-2.4.29/arch/i386/config.in Wed Nov 17 12:54:21 2004
-+++ linux-2.4.29_geode/arch/i386/config.in Tue Feb 15 23:41:54 2005
-@@ -42,6 +42,7 @@
- Winchip-C6 CONFIG_MWINCHIPC6 \
- Winchip-2 CONFIG_MWINCHIP2 \
- Winchip-2A/Winchip-3 CONFIG_MWINCHIP3D \
-+ MediaGX/Geode CONFIG_MGEODE \
- CyrixIII/VIA-C3 CONFIG_MCYRIXIII \
- VIA-C3-2 CONFIG_MVIAC3_2" Pentium-Pro
- #
-@@ -162,6 +163,14 @@
- define_bool CONFIG_X86_ALIGNMENT_16 y
- define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
- define_bool CONFIG_X86_F00F_WORKS_OK y
-+fi
-+if [ "$CONFIG_MGEODE" = "y" ]; then
-+ define_int CONFIG_X86_L1_CACHE_SHIFT 5
-+ define_bool CONFIG_X86_USE_STRING_486 y
-+ define_bool CONFIG_X86_ALIGNMENT_16 y
-+ define_bool CONFIG_X86_TSC y
-+ define_bool CONFIG_X86_PPRO_FENCE y
-+ define_bool CONFIG_X86_OOSTORE y
- fi
- if [ "$CONFIG_MCRUSOE" = "y" ]; then
- define_int CONFIG_X86_L1_CACHE_SHIFT 5