summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2017-08-09 17:51:29 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-08-15 15:39:25 +0200
commit1205276e0c02d80ea7581c2fc6e782808ed15e2a (patch)
treec227c3ed7531df8f14d9ae8e5a640b45b140bbfd /arch
parent745aff2248856e38db5c190301ffe14b101dce70 (diff)
downloadbarebox-1205276e0c02d80ea7581c2fc6e782808ed15e2a.tar.gz
barebox-1205276e0c02d80ea7581c2fc6e782808ed15e2a.tar.xz
MIPS: ath79: provide CONFIG_SOC_QCA_AR9331 option
QCA AR9331 and QCA AR9344 have some similar part but different uart engines. We need this flag to provide common debug_ll support. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/mach-ath79/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index 9b8e3946e6..f2eae2532d 100644
--- a/arch/mips/mach-ath79/Kconfig
+++ b/arch/mips/mach-ath79/Kconfig
@@ -4,17 +4,22 @@ config ARCH_TEXT_BASE
hex
default 0xa0800000
+config SOC_QCA_AR9331
+ bool
+
choice
prompt "Board type"
config BOARD_TPLINK_MR3020
bool "TP-LINK MR3020"
+ select SOC_QCA_AR9331
select HAVE_PBL_IMAGE
select HAVE_IMAGE_COMPRESSION
select HAS_NMON
config BOARD_BLACK_SWIFT
bool "Black Swift"
+ select SOC_QCA_AR9331
select HAVE_PBL_IMAGE
select HAVE_IMAGE_COMPRESSION
select HAS_NMON