]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: amlogic: vim3: fix setup ethernet mac from efuse
authorArtem Lapkin <email2tema@gmail.com>
Tue, 12 Jan 2021 11:42:12 +0000 (19:42 +0800)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 12 Jan 2021 13:25:55 +0000 (14:25 +0100)
commit6bfa331a6e22507ae839fb8474ce1b3fd58808df
treef4b24f8507e11995985c2bbb3e49a48a93bdb3a1
parentaa3c7912cb6cac8a214e5aa5a1a4251303c9a2c5
board: amlogic: vim3: fix setup ethernet mac from efuse

Fix reading built-in ethernet MAC address from efuse

NOTE: MAC is stored in ASCII format, 1bytes = 2characters by 0 offset

if mac from efuse not valid we use meson_generate_serial_ethaddr

NOTE: remake odroid-n2.c from Neil Armstrong <narmstrong@baylibre.com>

Signed-off-by: Artem Lapkin <art@khadas.com>
[narmstrong: remove MAC print & spurious new endline]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
board/amlogic/vim3/vim3.c