]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: misc: Set eth1addr mac address
authorJonas Karlman <jonas@kwiboo.se>
Wed, 22 Feb 2023 22:44:40 +0000 (22:44 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 28 Feb 2023 10:07:28 +0000 (18:07 +0800)
commit628fb0683b65269a121c1cbc3a0d4f5adb4ecf13
tree760463a5e3051c43a38a12584bcbee6bcf4ea8c5
parentdd5684b87850ad535ec4fd6532cf675d07b73983
rockchip: misc: Set eth1addr mac address

Set eth1addr in addition to ethaddr.

Also allow fdt fixup of ethernet mac addresses when CMD_NET is disabled.
Set ethaddr and eth1addr based on HASH and SHA256 options.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/misc.c