ramips: read Tenbay T-MB5EU address from single location
authorDavid Bauer <mail@david-bauer.net>
Wed, 19 Jan 2022 21:58:17 +0000 (22:58 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sat, 22 Jan 2022 00:16:56 +0000 (01:16 +0100)
commitef5f3eb7007e950c9a60810a5f421dcfb75cc97f
treecb4893de17462fa784476d5f77897e25277b3989
parentb0c04a37e48547e1c420386b6bd9b08c93de3429
ramips: read Tenbay T-MB5EU address from single location

Currently the WAN MAC address is read from a different offset contrary
to all other addresses.

There's conflicting information whether offset 0x28 on the factory
partition contains the valid WAN mac for all devices while 0x4 seems to
be uniform.

Read the WAN mac from this location and calculate it.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts