ar71xx: add kernel support for the Oolite v1 board
[openwrt/openwrt.git] / target / linux / ar71xx / patches-3.10 / 706-MIPS-ath79-oolite-v1-support.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -49,6 +49,7 @@ enum ath79_mach_type {
4 ATH79_MACH_EW_DORIN, /* embedded wireless Dorin Platform */
5 ATH79_MACH_EW_DORIN_ROUTER, /* embedded wireless Dorin Router Platform */
6 ATH79_MACH_EAP7660D, /* Senao EAP7660D */
7 + ATH79_MACH_GS_OOLITE, /* GS OOLITE V1.0 */
8 ATH79_MACH_JA76PF, /* jjPlus JA76PF */
9 ATH79_MACH_JA76PF2, /* jjPlus JA76PF2 */
10 ATH79_MACH_JWAP003, /* jjPlus JWAP003 */
11 --- a/arch/mips/ath79/Kconfig
12 +++ b/arch/mips/ath79/Kconfig
13 @@ -337,6 +337,16 @@ config ATH79_MACH_EW_DORIN
14 Say 'Y' here if you want your kernel to support the
15 Dorin Platform from www.80211.de .
16
17 +config ATH79_MACH_GS_OOLITE
18 + bool "GS Oolite V1 support"
19 + select SOC_AR933X
20 + select ARH79_DEV_ETH
21 + select ARH79_DEV_GPIO_BUTTONS
22 + select ATH79_DEV_LEDS_GPIO
23 + select ATH79_DEV_M25P80
24 + select ATH79_DEV_USB
25 + select ATH79_DEV_WMAC
26 +
27 config ATH79_MACH_JA76PF
28 bool "jjPlus JA76PF board support"
29 select SOC_AR71XX
30 --- a/arch/mips/ath79/Makefile
31 +++ b/arch/mips/ath79/Makefile
32 @@ -62,6 +62,7 @@ obj-$(CONFIG_ATH79_MACH_DIR_825_C1) += m
33 obj-$(CONFIG_ATH79_MACH_DRAGINO2) += mach-dragino2.o
34 obj-$(CONFIG_ATH79_MACH_EW_DORIN) += mach-ew-dorin.o
35 obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
36 +obj-$(CONFIG_ATH79_MACH_GS_OOLITE) += mach-gs-oolite.o
37 obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
38 obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
39 obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o