summaryrefslogtreecommitdiffstats
path: root/arch/mips/mach-ath79
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2017-08-09 17:51:31 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-08-15 15:39:25 +0200
commit91435aa96af6dbc66c9e306d31eb3cfa7d835615 (patch)
tree8fa0b960d2f2b5cbcaa305ac51b0ebfdea0fc0e8 /arch/mips/mach-ath79
parent196aa5cd216ae804f0e8f6673fa1d9b3e5d80c7e (diff)
downloadbarebox-91435aa96af6dbc66c9e306d31eb3cfa7d835615.tar.gz
barebox-91435aa96af6dbc66c9e306d31eb3cfa7d835615.tar.xz
MIPS: ath79: add TP-Link WDR4300 board support
This provides low level initialization of pll and ddr2. Resulting binary should work from SRAM, DDR2 and SPI flash. If started from DDR2 RAM level initialization will skipped. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'arch/mips/mach-ath79')
-rw-r--r--arch/mips/mach-ath79/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index f2eae2532d..9fec00c982 100644
--- a/arch/mips/mach-ath79/Kconfig
+++ b/arch/mips/mach-ath79/Kconfig
@@ -7,6 +7,9 @@ config ARCH_TEXT_BASE
config SOC_QCA_AR9331
bool
+config SOC_QCA_AR9344
+ bool
+
choice
prompt "Board type"
@@ -17,6 +20,13 @@ config BOARD_TPLINK_MR3020
select HAVE_IMAGE_COMPRESSION
select HAS_NMON
+config BOARD_TPLINK_WDR4300
+ bool "TP-LINK WDR4300"
+ select SOC_QCA_AR9344
+ select HAVE_PBL_IMAGE
+ select HAVE_IMAGE_COMPRESSION
+ select HAS_NMON
+
config BOARD_BLACK_SWIFT
bool "Black Swift"
select SOC_QCA_AR9331