Add virtualbox images to x86 (#3475)
[openwrt.git] / target / linux / atheros / patches-2.6.24 / 100-board.patch
1 Index: linux-2.6.24.7/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.24.7.orig/arch/mips/Kconfig
4 +++ linux-2.6.24.7/arch/mips/Kconfig
5 @@ -67,6 +67,18 @@ config BCM47XX
6 help
7 Support for BCM47XX based boards
8
9 +config ATHEROS
10 + bool "Atheros SoC support (EXPERIMENTAL)"
11 + depends on EXPERIMENTAL
12 + select DMA_NONCOHERENT
13 + select CEVT_R4K
14 + select CSRC_R4K
15 + select IRQ_CPU
16 + select SYS_HAS_CPU_MIPS32_R1
17 + select SYS_SUPPORTS_BIG_ENDIAN
18 + select SYS_SUPPORTS_32BIT_KERNEL
19 + select GENERIC_GPIO
20 +
21 config MIPS_COBALT
22 bool "Cobalt Server"
23 select CEVT_R4K
24 @@ -689,6 +701,7 @@ config WR_PPMC
25
26 endchoice
27
28 +source "arch/mips/atheros/Kconfig"
29 source "arch/mips/au1000/Kconfig"
30 source "arch/mips/jazz/Kconfig"
31 source "arch/mips/lasat/Kconfig"
32 Index: linux-2.6.24.7/arch/mips/Makefile
33 ===================================================================
34 --- linux-2.6.24.7.orig/arch/mips/Makefile
35 +++ linux-2.6.24.7/arch/mips/Makefile
36 @@ -268,6 +268,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
37 load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
38
39 #
40 +# Atheros AR5312/AR2312 WiSoC
41 +#
42 +core-$(CONFIG_ATHEROS) += arch/mips/atheros/
43 +cflags-$(CONFIG_ATHEROS) += -Iinclude/asm-mips/mach-atheros
44 +load-$(CONFIG_ATHEROS) += 0xffffffff80041000
45 +
46 +#
47 # Cobalt Server
48 #
49 core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
50 Index: linux-2.6.24.7/include/asm-mips/bootinfo.h
51 ===================================================================
52 --- linux-2.6.24.7.orig/include/asm-mips/bootinfo.h
53 +++ linux-2.6.24.7/include/asm-mips/bootinfo.h
54 @@ -198,6 +198,18 @@
55 #define MACH_GROUP_BRCM 23 /* Broadcom */
56 #define MACH_BCM47XX 1 /* Broadcom BCM47XX */
57
58 +/*
59 + * Valid machtype for group ATHEROS
60 + */
61 +#define MACH_GROUP_ATHEROS 26
62 +#define MACH_ATHEROS_AR5312 0
63 +#define MACH_ATHEROS_AR2312 1
64 +#define MACH_ATHEROS_AR2313 2
65 +#define MACH_ATHEROS_AR2315 3
66 +#define MACH_ATHEROS_AR2316 4
67 +#define MACH_ATHEROS_AR2317 5
68 +#define MACH_ATHEROS_AR2318 6
69 +
70 #define CL_SIZE COMMAND_LINE_SIZE
71
72 const char *get_system_type(void);
This page took 0.051658 seconds and 5 git commands to generate.