ar71xx: switch to linux 3.14
[openwrt.git] / target / linux / ar71xx / patches-3.10 / 729-MIPS-ath79-add-WZR-450HP2.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -263,6 +263,16 @@ config ATH79_MACH_WZR_HP_G450H
4         select ATH79_DEV_M25P80
5         select ATH79_DEV_USB
6  
7 +config ATH79_MACH_WZR_450HP2
8 +       bool "Buffalo WZR-450HP2 board support"
9 +       select SOC_QCA955X
10 +       select ATH79_DEV_ETH
11 +       select ATH79_DEV_GPIO_BUTTONS
12 +       select ATH79_DEV_LEDS_GPIO
13 +       select ATH79_DEV_M25P80
14 +       select ATH79_DEV_USB
15 +       select ATH79_DEV_WMAC
16 +
17  config ATH79_MACH_WP543
18         bool "Compex WP543/WPJ543 board support"
19         select SOC_AR71XX
20 --- a/arch/mips/ath79/Makefile
21 +++ b/arch/mips/ath79/Makefile
22 @@ -140,6 +140,7 @@ obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH)      +
23  obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2)        += mach-wzr-hp-g300nh2.o
24  obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o
25  obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H)  += mach-wzr-hp-g450h.o
26 +obj-$(CONFIG_ATH79_MACH_WZR_450HP2)    += mach-wzr-450hp2.o
27  obj-$(CONFIG_ATH79_MACH_ZCN_1523H)     += mach-zcn-1523h.o
28  obj-$(CONFIG_ATH79_MACH_CARAMBOLA2)    += mach-carambola2.o
29  obj-$(CONFIG_ATH79_MACH_NBG6716)       += mach-nbg6716.o
30 --- a/arch/mips/ath79/machtypes.h
31 +++ b/arch/mips/ath79/machtypes.h
32 @@ -183,6 +183,7 @@ enum ath79_mach_type {
33         ATH79_MACH_WZR_HP_G300NH,       /* Buffalo WZR-HP-G300NH */
34         ATH79_MACH_WZR_HP_G300NH2,      /* Buffalo WZR-HP-G300NH2 */
35         ATH79_MACH_WZR_HP_G450H,        /* Buffalo WZR-HP-G450H */
36 +       ATH79_MACH_WZR_450HP2,          /* Buffalo WZR-450HP2 */
37         ATH79_MACH_ZCN_1523H_2,         /* Zcomax ZCN-1523H-2-xx */
38         ATH79_MACH_ZCN_1523H_5,         /* Zcomax ZCN-1523H-5-xx */
39  };