enable inotify kernel support
[openwrt.git] / target / linux / amazon / patches / 100-board.patch
1 Index: linux-2.6.21.7/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.21.7.orig/arch/mips/Kconfig
4 +++ linux-2.6.21.7/arch/mips/Kconfig
5 @@ -159,6 +159,17 @@ config BASLER_EXCITE_PROTOTYPE
6 note that a kernel built with this option selected will not be
7 able to run on normal units.
8
9 +config AMAZON
10 + bool "Amazon support (EXPERIMENTAL)"
11 + depends on EXPERIMENTAL
12 + select DMA_NONCOHERENT
13 + select IRQ_CPU
14 + select SYS_HAS_CPU_MIPS32_R1
15 + select HAVE_STD_PC_SERIAL_PORT
16 + select SYS_SUPPORTS_BIG_ENDIAN
17 + select SYS_SUPPORTS_32BIT_KERNEL
18 + select SYS_HAS_EARLY_PRINTK
19 +
20 config MIPS_COBALT
21 bool "Cobalt Server"
22 select DMA_NONCOHERENT
23 @@ -823,6 +834,7 @@ config TOSHIBA_RBTX4938
24
25 endchoice
26
27 +source "arch/mips/amazon/Kconfig"
28 source "arch/mips/ddb5xxx/Kconfig"
29 source "arch/mips/gt64120/ev64120/Kconfig"
30 source "arch/mips/jazz/Kconfig"
31 Index: linux-2.6.21.7/arch/mips/Makefile
32 ===================================================================
33 --- linux-2.6.21.7.orig/arch/mips/Makefile
34 +++ linux-2.6.21.7/arch/mips/Makefile
35 @@ -267,6 +267,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
36 load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
37
38 #
39 +# Infineon AMAZON
40 +#
41 +core-$(CONFIG_AMAZON) += arch/mips/amazon/
42 +cflags-$(CONFIG_AMAZON) += -Iinclude/asm-mips/mach-amazon
43 +load-$(CONFIG_AMAZON) += 0xffffffff80002000
44 +
45 +#
46 # Cobalt Server
47 #
48 core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
49 Index: linux-2.6.21.7/include/asm-mips/bootinfo.h
50 ===================================================================
51 --- linux-2.6.21.7.orig/include/asm-mips/bootinfo.h
52 +++ linux-2.6.21.7/include/asm-mips/bootinfo.h
53 @@ -213,6 +213,12 @@
54 #define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */
55 #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */
56
57 +/*
58 + * Valid machtype for group Infineon
59 + */
60 +#define MACH_GROUP_INFINEON 27
61 +#define MACH_INFINEON_AMAZON 0
62 +
63 #define CL_SIZE COMMAND_LINE_SIZE
64
65 const char *get_system_type(void);
This page took 0.04695 seconds and 5 git commands to generate.