mbox series

[v2,0/3] Introduce NET_PREFER_ROM_MAC_ADDR config

Message ID 20240422135927.23582-1-detlev.casanova@collabora.com
Headers show
Series Introduce NET_PREFER_ROM_MAC_ADDR config | expand

Message

Detlev Casanova April 22, 2024, 1:56 p.m. UTC
When there is a MAC address mismatch between ROM and environment, u-boot
chooses the one from the environment. This config allows to prefer the
MAC address from the ROM instead of the environment.

See the first commit message for details.

Changes since v1:
 - Simplify implementation with a NET_PREFER_ROM_MAC_ADDR config

Detlev Casanova (3):
  net: eth-uclass: Introduce NET_PREFER_ROM_MAC_ADDR
  configs/rock5b: Set NET_PREFER_ROM_MAC_ADDR to y
  net: eth-uclass: Add driver source possibility

 configs/rock5b-rk3588_defconfig |  1 +
 net/Kconfig                     |  7 +++++++
 net/eth-uclass.c                | 17 +++++++++++++----
 3 files changed, 21 insertions(+), 4 deletions(-)