Re: [PATCH v2] rpi: Copy eth MAC address from fw DT to loaded DT

2024-03-19 Thread Martin Wetterwald
I reworked the commit message because I noticed the upstream Linux kernel has a difference with the Raspberry Pi fork of the kernel regarding the algorithm used to determine the MAC address of the smsc95xx. There is no smsc95xx.macaddr in the upstream kernel, and using the upstream kernel is actual

[PATCH v2] rpi: Copy eth MAC address from fw DT to loaded DT

2024-03-19 Thread Martin Wetterwald
ovided one) without having the kernel generate a random MAC address. Note that this is only possible if CONFIG_OF_BOARD_SETUP=y and ft_board_setup() is called. Cc: Matthias Brugger Cc: Peter Robinson Cc: Antoine Mazeas Signed-off-by: Martin Wetterwald --- Changes in v2: - Clarify the commit messag

[PATCH] rpi: Copy eth MAC address from fw DT to loaded DT

2024-03-17 Thread Martin Wetterwald
h ft_board_setup() call. Cc: Matthias Brugger Cc: Peter Robinson Cc: Antoine Mazeas Signed-off-by: Martin Wetterwald --- board/raspberrypi/rpi/rpi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 2851ebc985..b36a893047 100644