cpmac: reapply [9664]
[openwrt.git] / target / linux / ifxmips / patches / 100-board.patch
1 Index: linux-2.6.23/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.23.orig/arch/mips/Kconfig 2007-10-16 22:12:19.000000000 +0200
4 +++ linux-2.6.23/arch/mips/Kconfig 2007-10-16 22:12:21.000000000 +0200
5 @@ -58,6 +58,17 @@
6 select SYS_SUPPORTS_LITTLE_ENDIAN
7 select GENERIC_HARDIRQS_NO__DO_IRQ
8
9 +config IFXMIPS
10 + bool "IFXMips support"
11 + select DMA_NONCOHERENT
12 + select IRQ_CPU
13 + select SYS_HAS_CPU_MIPS32_R1
14 + select HAVE_STD_PC_SERIAL_PORT
15 + select SYS_SUPPORTS_BIG_ENDIAN
16 + select SYS_SUPPORTS_32BIT_KERNEL
17 + select SYS_HAS_EARLY_PRINTK
18 + select HW_HAS_PCI
19 +
20 config MACH_DECSTATION
21 bool "DECstations"
22 select BOOT_ELF32
23 @@ -605,6 +615,7 @@
24 source "arch/mips/tx4927/Kconfig"
25 source "arch/mips/tx4938/Kconfig"
26 source "arch/mips/vr41xx/Kconfig"
27 +source "arch/mips/ifxmips/Kconfig"
28
29 endmenu
30
31 Index: linux-2.6.23/arch/mips/Makefile
32 ===================================================================
33 --- linux-2.6.23.orig/arch/mips/Makefile 2007-10-16 22:12:21.000000000 +0200
34 +++ linux-2.6.23/arch/mips/Makefile 2007-10-16 22:12:21.000000000 +0200
35 @@ -276,6 +276,13 @@
36 cflags-$(CONFIG_MIPS_COBALT) += -Iinclude/asm-mips/mach-cobalt
37 load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000
38
39 +#
40 +# Infineon IFXMIPS
41 +#
42 +core-$(CONFIG_IFXMIPS) += arch/mips/ifxmips/
43 +cflags-$(CONFIG_IFXMIPS) += -Iinclude/asm-mips/mach-ifxmips
44 +load-$(CONFIG_IFXMIPS) += 0xffffffff80002000
45 +
46 #
47 # DECstation family
48 #
49 Index: linux-2.6.23/include/asm-mips/bootinfo.h
50 ===================================================================
51 --- linux-2.6.23.orig/include/asm-mips/bootinfo.h 2007-10-16 22:12:19.000000000 +0200
52 +++ linux-2.6.23/include/asm-mips/bootinfo.h 2007-10-16 22:12:21.000000000 +0200
53 @@ -208,6 +208,13 @@
54 #define MACH_GROUP_WINDRIVER 28 /* Windriver boards */
55 #define MACH_WRPPMC 1
56
57 +/*
58 + * Valid machtype for group ATHEROS
59 + */
60 +#define MACH_GROUP_IFXMIPS 29
61 +#define MACH_INFINEON_IFXMIPS 0
62 +
63 +
64 #define CL_SIZE COMMAND_LINE_SIZE
65
66 const char *get_system_type(void);
This page took 0.05232 seconds and 5 git commands to generate.