eeprom: starfive: set eth0 mac address properly 03/297503/1 accepted/tizen/unified/riscv/20230821.130836
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 11 Aug 2023 06:59:12 +0000 (15:59 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 21 Aug 2023 04:46:41 +0000 (13:46 +0900)
commit1e243453436cba7d375304138f53e20b480f02d2
tree886ebd2bd183b5136d54aad8944d8e09c3a1448a
parenta001021645ee5172ae3dcc8d49c64f72077bf4b5
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>
Ref: https://patchwork.ozlabs.org/project/uboot/patch/20230811071225.22142-1-sw0312.kim@samsung.com/
[sw0312.kim: apply after upstream posting]

Change-Id: I024862c529c3b6004207cd0531a875c1d18d35d1
board/starfive/visionfive2/visionfive2-i2c-eeprom.c