bump ifxmips to 2.6.25.1
[openwrt.git] / target / linux / ifxmips / patches / 100-board.patch
1 Index: linux-2.6.25/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.25.orig/arch/mips/Kconfig 2008-05-05 08:35:34.000000000 +0100
4 +++ linux-2.6.25/arch/mips/Kconfig      2008-05-05 08:35:46.000000000 +0100
5 @@ -78,6 +78,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 Index: linux-2.6.25/arch/mips/Makefile
24 ===================================================================
25 --- linux-2.6.25.orig/arch/mips/Makefile        2008-05-05 08:35:35.000000000 +0100
26 +++ linux-2.6.25/arch/mips/Makefile     2008-05-05 08:35:46.000000000 +0100
27 @@ -282,6 +282,13 @@
28  cflags-$(CONFIG_MIPS_COBALT)   += -Iinclude/asm-mips/mach-cobalt
29  load-$(CONFIG_MIPS_COBALT)     += 0xffffffff80080000
30  
31 +# 
32 +# Infineon IFXMIPS
33 +# 
34 +core-$(CONFIG_IFXMIPS) += arch/mips/ifxmips/
35 +cflags-$(CONFIG_IFXMIPS)   += -Iinclude/asm-mips/mach-ifxmips
36 +load-$(CONFIG_IFXMIPS) += 0xffffffff80002000
37 +
38  #
39  # DECstation family
40  #
41 Index: linux-2.6.25/include/asm-mips/bootinfo.h
42 ===================================================================
43 --- linux-2.6.25.orig/include/asm-mips/bootinfo.h       2008-05-05 08:35:35.000000000 +0100
44 +++ linux-2.6.25/include/asm-mips/bootinfo.h    2008-05-05 08:35:46.000000000 +0100
45 @@ -94,6 +94,12 @@
46  #define MACH_MSP7120_FPGA       5      /* PMC-Sierra MSP7120 Emulation */
47  #define MACH_MSP_OTHER        255      /* PMC-Sierra unknown board type */
48  
49 +/*
50 + * Valid machtype for group IFXMIPS
51 + */
52 +#define MACH_GROUP_IFXMIPS     29
53 +#define MACH_INFINEON_IFXMIPS  0
54 +
55  #define CL_SIZE                        COMMAND_LINE_SIZE
56  
57  extern char *system_type;