ar71xx: add model detection for UniFi AC-LR
authorAndreas Ziegler <dev@andreas-ziegler.de>
Tue, 22 Oct 2019 20:44:29 +0000 (22:44 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sun, 27 Oct 2019 17:13:33 +0000 (18:13 +0100)
commitb7ee43ecac53740d7c91c68eb1d3a421c1f1acb9
treeeaf31c2be7dccb1cec57210f8f57190e0efe3af7
parent0e7113e6ece03c879bf99dff097dd868e3453f27
ar71xx: add model detection for UniFi AC-LR

This commit adds correct model detection for UniFi
AC-LR. Previously, said device was incorrectly detected
as UniFi-AC-LITE/MESH.

The Information about the device is stored at 0xC in the EEPROM
partition. It corresponds to the sysid in /etc/board.info of the
Ubiquiti stock firmware.

Signed-off-by: Andreas Ziegler <dev@andreas-ziegler.de>
[adjust naming style of target to existing ones]
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 2bc7c519dcc0e7ca09feed24a3b9a105bc49f423)
Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/image/generic-ubnt.mk