All of lore.kernel.org
 help / color / mirror / Atom feed
From: Detlev Casanova <detlev.casanova@collabora.com>
To: u-boot@lists.denx.de
Cc: Joe Hershberger <joe.hershberger@ni.com>,
	Ramon Fried <rfried.dev@gmail.com>, Tom Rini <trini@konsulko.com>,
	Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Kever Yang <kever.yang@rock-chips.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Jonas Karlman <jonas@kwiboo.se>, Simon Glass <sjg@chromium.org>,
	Fabio Estevam <festevam@denx.de>,
	Detlev Casanova <detlev.casanova@collabora.com>
Subject: [PATCH v2 0/3] Introduce NET_PREFER_ROM_MAC_ADDR config
Date: Mon, 22 Apr 2024 09:56:17 -0400	[thread overview]
Message-ID: <20240422135927.23582-1-detlev.casanova@collabora.com> (raw)

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(-)

-- 
2.43.2


             reply	other threads:[~2024-04-22 14:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-22 13:56 Detlev Casanova [this message]
2024-04-22 13:56 ` [PATCH v2 1/3] net: eth-uclass: Introduce NET_PREFER_ROM_MAC_ADDR Detlev Casanova
2024-04-22 19:47   ` Marek Vasut
2024-04-23 13:35     ` Detlev Casanova
2024-04-23 13:44       ` Marek Vasut
2024-04-22 13:56 ` [PATCH v2 2/3] configs/rock5b: Set NET_PREFER_ROM_MAC_ADDR to y Detlev Casanova
2024-04-22 19:47   ` Marek Vasut
2024-04-22 13:56 ` [PATCH v2 3/3] net: eth-uclass: Add driver source possibility Detlev Casanova

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240422135927.23582-1-detlev.casanova@collabora.com \
    --to=detlev.casanova@collabora.com \
    --cc=festevam@denx.de \
    --cc=joe.hershberger@ni.com \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=philipp.tomsich@vrull.eu \
    --cc=rfried.dev@gmail.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.