ramips: initialize MAC addresses from flash where possible
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 16 Aug 2019 10:59:09 +0000 (12:59 +0200)
committerChuanhong Guo <gch981213@gmail.com>
Sat, 7 Sep 2019 13:41:44 +0000 (21:41 +0800)
commitaaf90d88087d7d23b1b829bef5012cc0a0b5ed4c
treea2845a232732d18870de16aa9f856cf1c196a8e7
parente35e4a996e26f17b69d200505ecea78af96a2704
ramips: initialize MAC addresses from flash where possible

This patch changes wan MAC address setup from retrieving it by
calculation to reading it from flash.

Changes are limited to cases where on-device check was possible.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[fix mac for newifi-d1; drop adslr,g7 because it's unlikely for
vendor to specifically use 2.4g mac as wan_mac]
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ramips/base-files/etc/board.d/02_network