2014-09-15 18:19:38 +08:00
|
|
|
--- a/arch/mips/ath79/Kconfig
|
|
|
|
+++ b/arch/mips/ath79/Kconfig
|
2014-09-28 04:51:49 +08:00
|
|
|
@@ -1034,6 +1034,17 @@ config ATH79_MACH_BHU_BXU2000N2_A
|
2014-09-15 18:19:38 +08:00
|
|
|
select ATH79_DEV_USB
|
|
|
|
select ATH79_DEV_WMAC
|
|
|
|
|
|
|
|
+config ATH79_MACH_QIHOO_C301
|
|
|
|
+ bool "Qihoo 360 C301 board support"
|
|
|
|
+ select SOC_AR934X
|
|
|
|
+ select ATH79_DEV_ETH
|
|
|
|
+ select ATH79_DEV_GPIO_BUTTONS
|
|
|
|
+ select ATH79_DEV_LEDS_GPIO
|
|
|
|
+ select ATH79_DEV_M25P80
|
|
|
|
+ select ATH79_DEV_WMAC
|
|
|
|
+ select ATH79_DEV_USB
|
|
|
|
+ select ATH79_NVRAM
|
|
|
|
+
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
config SOC_AR71XX
|
|
|
|
--- a/arch/mips/ath79/machtypes.h
|
|
|
|
+++ b/arch/mips/ath79/machtypes.h
|
2014-09-28 04:51:49 +08:00
|
|
|
@@ -80,6 +80,7 @@ enum ath79_mach_type {
|
2014-09-15 18:19:38 +08:00
|
|
|
ATH79_MACH_OM5P, /* OpenMesh OM5P */
|
|
|
|
ATH79_MACH_PB42, /* Atheros PB42 */
|
|
|
|
ATH79_MACH_PB92, /* Atheros PB92 */
|
|
|
|
+ ATH79_MACH_QIHOO_C301, /* Qihoo 360 C301 */
|
|
|
|
ATH79_MACH_RB_411, /* MikroTik RouterBOARD 411/411A/411AH */
|
|
|
|
ATH79_MACH_RB_411U, /* MikroTik RouterBOARD 411U */
|
|
|
|
ATH79_MACH_RB_433, /* MikroTik RouterBOARD 433/433AH */
|
|
|
|
--- a/arch/mips/ath79/Makefile
|
|
|
|
+++ b/arch/mips/ath79/Makefile
|
2014-09-28 04:51:49 +08:00
|
|
|
@@ -85,6 +85,7 @@ obj-$(CONFIG_ATH79_MACH_OM5P) += mach-o
|
2014-09-15 18:19:38 +08:00
|
|
|
obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
|
|
|
|
+obj-$(CONFIG_ATH79_MACH_QIHOO_C301) += mach-qihoo-c301.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB91X) += mach-rb91x.o
|