[at91] fix dfboot linking failures (#5937)
[openwrt.git] / target / linux / ifxmips / patches-2.6.30 / 100-board.patch
1 Index: linux-2.6.30.5/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.30.5.orig/arch/mips/Kconfig 2009-09-02 22:12:48.000000000 +0200
4 +++ linux-2.6.30.5/arch/mips/Kconfig 2009-09-03 01:18:31.000000000 +0200
5 @@ -79,6 +79,24 @@
6 select SYS_SUPPORTS_64BIT_KERNEL
7 select SYS_SUPPORTS_LITTLE_ENDIAN
8
9 +config IFXMIPS
10 + bool "Infineon Twinpass, Danube, Amazon-SE"
11 + select DMA_NONCOHERENT
12 + select IRQ_CPU
13 + select CEVT_R4K
14 + select CSRC_R4K
15 + select SYS_HAS_CPU_MIPS32_R1
16 + select SYS_HAS_CPU_MIPS32_R2
17 + select HAVE_STD_PC_SERIAL_PORT
18 + select SYS_SUPPORTS_BIG_ENDIAN
19 + select SYS_SUPPORTS_32BIT_KERNEL
20 + select SYS_SUPPORTS_MULTITHREADING
21 + select SYS_HAS_EARLY_PRINTK
22 + select HW_HAS_PCI
23 + select GENERIC_GPIO
24 + select ARCH_WANT_OPTIONAL_GPIOLIB
25 + select SWAP_IO_SPACE
26 +
27 config MACH_DECSTATION
28 bool "DECstations"
29 select BOOT_ELF32
30 @@ -643,6 +661,7 @@
31 source "arch/mips/txx9/Kconfig"
32 source "arch/mips/vr41xx/Kconfig"
33 source "arch/mips/cavium-octeon/Kconfig"
34 +source "arch/mips/ifxmips/Kconfig"
35
36 endmenu
37
38 Index: linux-2.6.30.5/arch/mips/Makefile
39 ===================================================================
40 --- linux-2.6.30.5.orig/arch/mips/Makefile 2009-09-02 22:12:48.000000000 +0200
41 +++ linux-2.6.30.5/arch/mips/Makefile 2009-09-02 22:12:53.000000000 +0200
42 @@ -290,6 +290,13 @@
43 load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000
44
45 #
46 +# Infineon IFXMIPS
47 +#
48 +core-$(CONFIG_IFXMIPS) += arch/mips/ifxmips/
49 +cflags-$(CONFIG_IFXMIPS) += -I$(srctree)/arch/mips/include/asm/mach-ifxmips
50 +load-$(CONFIG_IFXMIPS) += 0xffffffff80002000
51 +
52 +#
53 # DECstation family
54 #
55 core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/
56 Index: linux-2.6.30.5/arch/mips/include/asm/bootinfo.h
57 ===================================================================
58 --- linux-2.6.30.5.orig/arch/mips/include/asm/bootinfo.h 2009-09-02 22:12:48.000000000 +0200
59 +++ linux-2.6.30.5/arch/mips/include/asm/bootinfo.h 2009-09-02 22:13:05.000000000 +0200
60 @@ -57,6 +57,8 @@
61 #define MACH_MIKROTIK_RB532 0 /* Mikrotik RouterBoard 532 */
62 #define MACH_MIKROTIK_RB532A 1 /* Mikrotik RouterBoard 532A */
63
64 +#define MACH_INFINEON_IFXMIPS 0
65 +
66 #define CL_SIZE COMMAND_LINE_SIZE
67
68 extern char *system_type;
This page took 0.045746 seconds and 5 git commands to generate.