aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-03-06 23:06:13 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2017-03-15 23:00:52 +0100
commite3dc036cbf53bb4c2538b619f986cc3cd2aabc87 (patch)
tree76a016ede7f2b697062ae5cdedeef8c7f746098d /target/linux/ar71xx/base-files/lib/upgrade/platform.sh
parent902590e17507b0c98986caa15c3712972f78b212 (diff)
downloadupstream-e3dc036cbf53bb4c2538b619f986cc3cd2aabc87.tar.gz
upstream-e3dc036cbf53bb4c2538b619f986cc3cd2aabc87.tar.bz2
upstream-e3dc036cbf53bb4c2538b619f986cc3cd2aabc87.zip
ar71xx: add support for RB LHG 5nD
This patch adds support for the MikroTik RouterBOARD LHG 5 https://routerboard.com/RBLHG-5nD Specifications: - SoC: Atheros AR9344 (600MHz) - RAM: 64MB - Storage: 16MB NOR SPI flash - Wireless: builtin AR9344 5GHz, 2x2:2 - Ethernet: 1x100M Initial flash via initramfs, like all other RB devices. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index f89ad2cda9..364a32f76c 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -638,6 +638,7 @@ platform_check_image() {
rb-750up-r2|\
rb-941-2nd|\
rb-951ui-2nd|\
+ rb-lhg-5nd|\
rb-mapl-2nd)
return 0
;;
@@ -689,6 +690,7 @@ platform_pre_upgrade() {
rb-750up-r2|\
rb-941-2nd|\
rb-951ui-2nd|\
+ rb-lhg-5nd|\
rb-mapl-2nd)
# erase firmware if booted from initramfs
[ -z "$(rootfs_type)" ] && mtd erase firmware