Re: [PATCH 10/11] rockchip: misc: Set eth1addr mac address

2023-02-22 Thread Jonas Karlman
Hi Chen-Yu, On 2023-02-16 03:42, Chen-Yu Tsai wrote: > On Thu, Feb 16, 2023 at 7:57 AM Jonas Karlman wrote: >> >> Set eth1addr when there is an ethernet1 alias in the fdt. > > Maybe it makes sense to set it regardless whether an alias is present > or not? Makes sense, changed to always set eth1

Re: [PATCH 10/11] rockchip: misc: Set eth1addr mac address

2023-02-22 Thread Kever Yang
On 2023/2/16 07:49, Jonas Karlman wrote: Set eth1addr when there is an ethernet1 alias in the fdt. 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 Reviewed-by: Kever Yang Thank

Re: [PATCH 10/11] rockchip: misc: Set eth1addr mac address

2023-02-15 Thread Chen-Yu Tsai
On Thu, Feb 16, 2023 at 7:57 AM Jonas Karlman wrote: > > Set eth1addr when there is an ethernet1 alias in the fdt. Maybe it makes sense to set it regardless whether an alias is present or not? The user might be loading a custom FDT for the kernel, or have DT overlays stacked on, either could hav

[PATCH 10/11] rockchip: misc: Set eth1addr mac address

2023-02-15 Thread Jonas Karlman
Set eth1addr when there is an ethernet1 alias in the fdt. 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 --- arch/arm/mach-rockchip/misc.c | 10 +- 1 file changed, 9 inserti