From c59fa94eeecf16c79254ab4bc78f5b31c7387039 Mon Sep 17 00:00:00 2001 From: Thibaut VARENE Date: Tue, 7 Feb 2017 12:06:33 +0100 Subject: ar71xx: add support for RB mAP L-2nD This patch adds support for the MikroTik RouterBOARD mAP lite https://routerboard.com/RBmAPL-2nD Specifications: - SoC: Qualcomm QCA9533 (650MHz) - RAM: 64MB - Storage: 16MB NOR SPI flash - Wireless: builtin QCA9533, 2x2:2 - Ethernet: 1x100M This is another 16M SPI NOR mikrotik device. The machine file is named mach-rbspi.c because I plan to add support for several of the other spi-based RouterBOARD devices in subsequent patches: they share most of the hardware and thus the same codebase. Signed-off-by: Thibaut VARENE --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'target/linux/ar71xx/base-files/lib/upgrade/platform.sh') diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index f227bf8..43515fe 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -344,6 +344,7 @@ platform_check_image() { pb42|\ pb44|\ rb-941-2nd|\ + rb-mapl-2nd|\ routerstation-pro|\ routerstation|\ wp543|\ @@ -615,7 +616,8 @@ platform_pre_upgrade() { local board=$(ar71xx_board_name) case "$board" in - rb-941-2nd) + rb-941-2nd|\ + rb-mapl-2nd) ;; rb*|\ c-60|\ @@ -651,7 +653,8 @@ platform_do_upgrade() { local board=$(ar71xx_board_name) case "$board" in - rb-941-2nd) + rb-941-2nd|\ + rb-mapl-2nd) PLATFORM_DO_UPGRADE_COMBINED_SEPARATE_MTD=1 platform_do_upgrade_combined "$ARGV" ;; -- cgit v1.1