cc01cd6bd2844403b1196c8fb3f915bdfe493686
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-4.1 / 814-MIPS-ath79-add-blackswift.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -904,6 +904,16 @@ config ATH79_MACH_EAP7660D
4 select ATH79_DEV_LEDS_GPIO
5 select ATH79_DEV_M25P80
6
7 +config ATH79_MACH_BSB
8 + bool "Smart Electronics Black Swift board"
9 + select SOC_AR933X
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_ARCHER_C7
18 bool "TP-LINK Archer C5/C7/TL-WDR4900 v2 board support"
19 select SOC_QCA955X
20 --- a/arch/mips/ath79/Makefile
21 +++ b/arch/mips/ath79/Makefile
22 @@ -56,6 +56,7 @@ obj-$(CONFIG_ATH79_MACH_AP96) += mach-a
23 obj-$(CONFIG_ATH79_MACH_ARCHER_C7) += mach-archer-c7.o
24 obj-$(CONFIG_ATH79_MACH_AW_NR580) += mach-aw-nr580.o
25 obj-$(CONFIG_ATH79_MACH_BHU_BXU2000N2_A)+= mach-bhu-bxu2000n2-a.o
26 +obj-$(CONFIG_ATH79_MACH_BSB) += mach-bsb.o
27 obj-$(CONFIG_ATH79_MACH_CAP4200AG) += mach-cap4200ag.o
28 obj-$(CONFIG_ATH79_MACH_CF_E316N_V2) += mach-cf-e316n-v2.o
29 obj-$(CONFIG_ATH79_MACH_CPE510) += mach-cpe510.o
30 --- a/arch/mips/ath79/machtypes.h
31 +++ b/arch/mips/ath79/machtypes.h
32 @@ -39,6 +39,7 @@ enum ath79_mach_type {
33 ATH79_MACH_ARCHER_C7, /* TP-LINK Archer C7 board */
34 ATH79_MACH_AW_NR580, /* AzureWave AW-NR580 */
35 ATH79_MACH_BHU_BXU2000N2_A1, /* BHU BXU2000n-2 A1 */
36 + ATH79_MACH_BSB, /* Smart Electronics Black Swift board */
37 ATH79_MACH_CAP4200AG, /* Senao CAP4200AG */
38 ATH79_MACH_CARAMBOLA2, /* 8devices Carambola2 */
39 ATH79_MACH_CF_E316N_V2, /* COMFAST CF-E316N v2 */