[PATCH 0/3] net: Add a CONFIG_NET_BOARD_ETHADDR

Detlev Casanova detlev.casanova at collabora.com
Thu Mar 14 15:43:45 CET 2024


Basically, the MAC address generation needs to use a board function in
its decision algorithm so that there is no MAC mismatch between ROM and
environment depending on the order of function calling.

See the first commit message for details.

Detlev Casanova (3):
  net: Add a CONFIG_NET_BOARD_ETHADDR
  rockchip: Add a board_gen_ethaddr() function
  net: eth-uclass: Add driver source possibility

 arch/arm/Kconfig                          |  1 +
 arch/arm/include/asm/arch-rockchip/misc.h |  1 +
 arch/arm/mach-rockchip/board.c            | 30 ++++++++++++++++++-----
 arch/arm/mach-rockchip/misc.c             | 22 ++++++++++++-----
 net/Kconfig                               |  7 ++++++
 net/eth-uclass.c                          | 25 ++++++++++++++++---
 6 files changed, 70 insertions(+), 16 deletions(-)

-- 
2.43.2



More information about the U-Boot mailing list