mediatek: store MAC address in boot partition on Banana Pi R2
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 14 Jun 2020 13:20:36 +0000 (14:20 +0100)
committerPetr Štetiar <ynezz@true.cz>
Wed, 8 Jul 2020 21:22:30 +0000 (23:22 +0200)
commite19ffb25d97e3859693c6d4582caf32e45265aa7
tree6f50e32c624813775b7618beb67b813d88cf5dab
parent7adc29f59ede5112b94b3df4688b47a88f84f544
mediatek: store MAC address in boot partition on Banana Pi R2

Like many boards, the Banana Pi R2 doesn't have permanant storage of
its MAC address, and we store the first random one that the kernel
generates in order to use it later and at least be consistent.

Store it in the FAT boot partition, just as the U7623 board (and others)
do.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
target/linux/mediatek/mt7623/base-files/lib/preinit/07_set_iface_mac