mpc85xx: correct TP-LINK TL-WDR4900 MAC addresses
authorDavid Bauer <mail@david-bauer.net>
Sun, 13 Oct 2019 21:37:59 +0000 (23:37 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sat, 19 Oct 2019 21:05:27 +0000 (23:05 +0200)
commitbcb0fd1fa1f1265d7a911c0e8bd036e2347b112f
treeb7cc3b203e557994ae735bf40cde6803caecbe51
parente5ab602c6925ba9cdf92c8f5ebfc2d18734c1238
mpc85xx: correct TP-LINK TL-WDR4900 MAC addresses

This commit fixes TP-Link TL-WDR4900 v1 MAC address assignment.
Previously, the MAC addrss was read for the ethernet from the "config"
partition. However, the content of this partition is dependent on the
firmware which was previously installed on the device.

Switch the MAC address source to the U-Boot partition, where the MAC
address is always present at a fixed partition. The partition was
previously already used for the WiFi MAC-addresses.

Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 07e555d8735e8fa272e3f6abd35acc9f1ab44367)
Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/mpc85xx/base-files/etc/board.d/02_network
target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts