1menu "QCA/Atheros 7xxx/9xxx platforms"
2	depends on ARCH_ATH79
3
4config SYS_SOC
5	default "ath79"
6
7config SOC_AR933X
8	bool
9	select MIPS_TUNE_24KC
10	select ROM_EXCEPTION_VECTORS
11	select SUPPORTS_BIG_ENDIAN
12	select SUPPORTS_CPU_MIPS32_R1
13	select SUPPORTS_CPU_MIPS32_R2
14	help
15	  This supports QCA/Atheros ar933x family SOCs.
16
17config SOC_AR934X
18	bool
19	select MIPS_TUNE_74KC
20	select SUPPORTS_BIG_ENDIAN
21	select SUPPORTS_CPU_MIPS32_R1
22	select SUPPORTS_CPU_MIPS32_R2
23	help
24	  This supports QCA/Atheros ar934x family SOCs.
25
26config SOC_QCA953X
27	bool
28	select MIPS_TUNE_24KC
29	select ROM_EXCEPTION_VECTORS
30	select SUPPORTS_BIG_ENDIAN
31	select SUPPORTS_CPU_MIPS32_R1
32	select SUPPORTS_CPU_MIPS32_R2
33	help
34	  This supports QCA/Atheros qca953x family SOCs.
35
36config SOC_QCA956X
37	bool
38	select MIPS_TUNE_74KC
39	select SUPPORTS_BIG_ENDIAN
40	select SUPPORTS_CPU_MIPS32_R1
41	select SUPPORTS_CPU_MIPS32_R2
42	help
43	  This supports QCA/Atheros qca956x family SOCs.
44
45choice
46	prompt "Board select"
47
48config TARGET_AP121
49	bool "AP121 Reference Board"
50	select SOC_AR933X
51
52config TARGET_AP143
53	bool "AP143 Reference Board"
54	select SOC_QCA953X
55
56config TARGET_AP152
57	bool "AP152 Reference Board"
58	select SOC_QCA956X
59
60config BOARD_TPLINK_WDR4300
61	bool "TP-Link WDR4300 Board"
62	select SOC_AR934X
63
64endchoice
65
66source "board/qca/ap121/Kconfig"
67source "board/qca/ap143/Kconfig"
68source "board/qca/ap152/Kconfig"
69source "board/tplink/wdr4300/Kconfig"
70
71endmenu
72