Use 2.6.25 for rdc321x
[openwrt.git] / target / linux / atheros / patches-2.6.23 / 100-board.patch
1 Index: linux-2.6.23.17/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.23.17.orig/arch/mips/Kconfig
4 +++ linux-2.6.23.17/arch/mips/Kconfig
5 @@ -44,6 +44,16 @@ 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 ATHEROS
10 + bool "Atheros SoC support (EXPERIMENTAL)"
11 + depends on EXPERIMENTAL
12 + select DMA_NONCOHERENT
13 + select IRQ_CPU
14 + select SYS_HAS_CPU_MIPS32_R1
15 + select SYS_SUPPORTS_BIG_ENDIAN
16 + select SYS_SUPPORTS_32BIT_KERNEL
17 + select GENERIC_GPIO
18 +
19 config MIPS_COBALT
20 bool "Cobalt Server"
21 select DMA_NONCOHERENT
22 @@ -597,6 +607,7 @@ config WR_PPMC
23
24 endchoice
25
26 +source "arch/mips/atheros/Kconfig"
27 source "arch/mips/au1000/Kconfig"
28 source "arch/mips/jazz/Kconfig"
29 source "arch/mips/pmc-sierra/Kconfig"
30 Index: linux-2.6.23.17/arch/mips/Makefile
31 ===================================================================
32 --- linux-2.6.23.17.orig/arch/mips/Makefile
33 +++ linux-2.6.23.17/arch/mips/Makefile
34 @@ -270,6 +270,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
35 load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
36
37 #
38 +# Atheros AR5312/AR2312 WiSoC
39 +#
40 +core-$(CONFIG_ATHEROS) += arch/mips/atheros/
41 +cflags-$(CONFIG_ATHEROS) += -Iinclude/asm-mips/mach-atheros
42 +load-$(CONFIG_ATHEROS) += 0xffffffff80041000
43 +
44 +#
45 # Cobalt Server
46 #
47 core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
48 Index: linux-2.6.23.17/include/asm-mips/bootinfo.h
49 ===================================================================
50 --- linux-2.6.23.17.orig/include/asm-mips/bootinfo.h
51 +++ linux-2.6.23.17/include/asm-mips/bootinfo.h
52 @@ -208,6 +208,18 @@
53 #define MACH_GROUP_WINDRIVER 28 /* Windriver boards */
54 #define MACH_WRPPMC 1
55
56 +/*
57 + * Valid machtype for group ATHEROS
58 + */
59 +#define MACH_GROUP_ATHEROS 26
60 +#define MACH_ATHEROS_AR5312 0
61 +#define MACH_ATHEROS_AR2312 1
62 +#define MACH_ATHEROS_AR2313 2
63 +#define MACH_ATHEROS_AR2315 3
64 +#define MACH_ATHEROS_AR2316 4
65 +#define MACH_ATHEROS_AR2317 5
66 +#define MACH_ATHEROS_AR2318 6
67 +
68 #define CL_SIZE COMMAND_LINE_SIZE
69
70 const char *get_system_type(void);
This page took 0.043964 seconds and 5 git commands to generate.