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 <li...@rempel-privat.de>
---
 arch/mips/mach-ath79/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index 9b8e3946e..f2eae2532 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
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to