ar71xx: add qihoo 360 c301 router support
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.14 / 726-MIPS-ath79-add-qihoo-360-c301-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -1034,6 +1034,17 @@
4 select ATH79_DEV_USB
5 select ATH79_DEV_WMAC
6
7 +config ATH79_MACH_QIHOO_C301
8 + bool "Qihoo 360 C301 board support"
9 + select SOC_AR934X
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_WMAC
15 + select ATH79_DEV_USB
16 + select ATH79_NVRAM
17 +
18 endmenu
19
20 config SOC_AR71XX
21 --- a/arch/mips/ath79/machtypes.h
22 +++ b/arch/mips/ath79/machtypes.h
23 @@ -80,6 +80,7 @@
24 ATH79_MACH_OM5P, /* OpenMesh OM5P */
25 ATH79_MACH_PB42, /* Atheros PB42 */
26 ATH79_MACH_PB92, /* Atheros PB92 */
27 + ATH79_MACH_QIHOO_C301, /* Qihoo 360 C301 */
28 ATH79_MACH_RB_411, /* MikroTik RouterBOARD 411/411A/411AH */
29 ATH79_MACH_RB_411U, /* MikroTik RouterBOARD 411U */
30 ATH79_MACH_RB_433, /* MikroTik RouterBOARD 433/433AH */
31 --- a/arch/mips/ath79/Makefile
32 +++ b/arch/mips/ath79/Makefile
33 @@ -85,6 +85,7 @@
34 obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
35 obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
36 obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
37 +obj-$(CONFIG_ATH79_MACH_QIHOO_C301) += mach-qihoo-c301.o
38 obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
39 obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
40 obj-$(CONFIG_ATH79_MACH_RB91X) += mach-rb91x.o