kernel: check return code of nla_parse in pcomp_lzma on 2.6.31
[openwrt.git] / target / linux / ifxmips / patches-2.6.28 / 100-board.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -79,6 +79,22 @@ config MIPS_COBALT
4 select SYS_SUPPORTS_LITTLE_ENDIAN
5 select GENERIC_HARDIRQS_NO__DO_IRQ
6
7 +config IFXMIPS
8 + bool "Infineon Twinpass, Danube, Amazon-SE"
9 + select DMA_NONCOHERENT
10 + select IRQ_CPU
11 + select CEVT_R4K
12 + select CSRC_R4K
13 + select SYS_HAS_CPU_MIPS32_R1
14 + select SYS_HAS_CPU_MIPS32_R2
15 + select SYS_SUPPORTS_BIG_ENDIAN
16 + select SYS_SUPPORTS_32BIT_KERNEL
17 + select SYS_HAS_EARLY_PRINTK
18 + select HW_HAS_PCI
19 + select GENERIC_GPIO
20 + select SWAP_IO_SPACE
21 + select GENERIC_HARDIRQS_NO__DO_IRQ
22 +
23 config MACH_DECSTATION
24 bool "DECstations"
25 select BOOT_ELF32
26 @@ -607,6 +623,7 @@ source "arch/mips/sgi-ip27/Kconfig"
27 source "arch/mips/sibyte/Kconfig"
28 source "arch/mips/txx9/Kconfig"
29 source "arch/mips/vr41xx/Kconfig"
30 +source "arch/mips/ifxmips/Kconfig"
31
32 endmenu
33
34 --- a/arch/mips/Makefile
35 +++ b/arch/mips/Makefile
36 @@ -285,6 +285,13 @@ cflags-$(CONFIG_MIPS_COBALT) += -I$(srct
37 load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000
38
39 #
40 +# Infineon IFXMIPS
41 +#
42 +core-$(CONFIG_IFXMIPS) += arch/mips/ifxmips/
43 +cflags-$(CONFIG_IFXMIPS) += -I$(srctree)/arch/mips/include/asm/mach-ifxmips
44 +load-$(CONFIG_IFXMIPS) += 0xffffffff80002000
45 +
46 +#
47 # DECstation family
48 #
49 core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/
50 --- a/arch/mips/include/asm/bootinfo.h
51 +++ b/arch/mips/include/asm/bootinfo.h
52 @@ -57,6 +57,12 @@
53 #define MACH_MIKROTIK_RB532 0 /* Mikrotik RouterBoard 532 */
54 #define MACH_MIKROTIK_RB532A 1 /* Mikrotik RouterBoard 532A */
55
56 +/*
57 + * Valid machtype for group IFXMIPS
58 + */
59 +#define MACH_GROUP_IFXMIPS 29
60 +#define MACH_INFINEON_IFXMIPS 0
61 +
62 #define CL_SIZE COMMAND_LINE_SIZE
63
64 extern char *system_type;
65 --- a/arch/mips/pci/Makefile
66 +++ b/arch/mips/pci/Makefile
67 @@ -52,3 +52,4 @@ obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc
68 obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
69 obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
70 obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
71 +obj-$(CONFIG_IFXMIPS) += pci-ifxmips.o ops-ifxmips.o
This page took 0.0472 seconds and 5 git commands to generate.