[PATCH 1/2] ti: Do not try to read the mac address if no NET is enabled
Tom Rini
trini at konsulko.com
Mon Sep 1 20:24:09 CEST 2025
On Mon, Sep 01, 2025 at 04:06:04PM +0000, Maarten Brock wrote:
> It is pointless to fetch the mac address if it will never be used.
>
> Signed-off-by: Maarten Brock <maarten.brock at sttls.nl>
> ---
>
> board/ti/am335x/board.c | 72 ++++++++++++++++++++---------------------
> 1 file changed, 36 insertions(+), 36 deletions(-)
The problem with doing this is I believe that we pass this information
on to the linux kernel, which at least in the past has assumed it would
be provided correctly by us, even if U-Boot didn't use the networking.
These fuses will always be populated so it's not a problem to be reading
them.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250901/d3754775/attachment.sig>
More information about the U-Boot
mailing list