eeprom: starfive: set eth0 mac address properly
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 11 Aug 2023 07:12:25 +0000 (16:12 +0900)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 5 Sep 2023 02:53:29 +0000 (10:53 +0800)
commit71914337ef579bb22705d4b88fee6b1448f7a9b1
tree6e7d36b461d064a16c2e2eebf2f95dfebb9efba4
parent493fd3363f6da6a784514657d689c7cda0f390d5
eeprom: starfive: set eth0 mac address properly

fdt_fixup_ethernet() sets eth0 mac address from ethaddr. Set
ethaddr to environment instead of eth0addr.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/starfive/visionfive2/visionfive2-i2c-eeprom.c