]> git.baikalelectronics.ru Git - uboot.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)
commit810c9dd1f1df4605a959e552a4a104a966078dff
tree760463a5e3051c43a38a12584bcbee6bcf4ea8c5
parent7d5206d6c180f7948ed13870b610038d3505711f
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