move jffs2 end-of-filesystem detection to the generic 2.6 patches
[openwrt.git] / target / linux / x86-2.4 / patches / 001-mgeode-cpu.patch
1 diff -Nur linux-2.4.29/arch/i386/Makefile linux-2.4.29_geode/arch/i386/Makefile
2 --- linux-2.4.29/arch/i386/Makefile Wed Nov 17 12:54:21 2004
3 +++ linux-2.4.29_geode/arch/i386/Makefile Tue Feb 15 23:41:54 2005
4 @@ -94,6 +94,10 @@
5 CFLAGS += $(call check_gcc,-march=c3-2,-march=i686)
6 endif
7
8 +ifdef CONFIG_MGEODE
9 +CFLAGS += -march=i586
10 +endif
11 +
12 # Disable unit-at-a-time mode, it makes gcc use a lot more stack
13 # due to the lack of sharing of stacklots.
14 CFLAGS += $(call check_gcc,-fno-unit-at-a-time,)
15 diff -Nur linux-2.4.29/arch/i386/config.in linux-2.4.29_geode/arch/i386/config.in
16 --- linux-2.4.29/arch/i386/config.in Wed Nov 17 12:54:21 2004
17 +++ linux-2.4.29_geode/arch/i386/config.in Tue Feb 15 23:41:54 2005
18 @@ -42,6 +42,7 @@
19 Winchip-C6 CONFIG_MWINCHIPC6 \
20 Winchip-2 CONFIG_MWINCHIP2 \
21 Winchip-2A/Winchip-3 CONFIG_MWINCHIP3D \
22 + MediaGX/Geode CONFIG_MGEODE \
23 CyrixIII/VIA-C3 CONFIG_MCYRIXIII \
24 VIA-C3-2 CONFIG_MVIAC3_2" Pentium-Pro
25 #
26 @@ -162,6 +163,14 @@
27 define_bool CONFIG_X86_ALIGNMENT_16 y
28 define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
29 define_bool CONFIG_X86_F00F_WORKS_OK y
30 +fi
31 +if [ "$CONFIG_MGEODE" = "y" ]; then
32 + define_int CONFIG_X86_L1_CACHE_SHIFT 5
33 + define_bool CONFIG_X86_USE_STRING_486 y
34 + define_bool CONFIG_X86_ALIGNMENT_16 y
35 + define_bool CONFIG_X86_TSC y
36 + define_bool CONFIG_X86_PPRO_FENCE y
37 + define_bool CONFIG_X86_OOSTORE y
38 fi
39 if [ "$CONFIG_MCRUSOE" = "y" ]; then
40 define_int CONFIG_X86_L1_CACHE_SHIFT 5
This page took 0.05617 seconds and 5 git commands to generate.