[PATCH] boards: Disable NET on platforms without NETDEVICES

Tom Rini trini at konsulko.com
Mon Nov 27 15:10:37 CET 2023


On Mon, Nov 27, 2023 at 02:05:35PM +0000, Peter Robinson wrote:
> On Mon, Nov 27, 2023 at 1:06 PM Tom Rini <trini at konsulko.com> wrote:
> >
> > On Mon, Nov 27, 2023 at 5:45 AM Winker Matthias (HC-CW/ENG-PJM)
> > <Matthias.Winker at de.bosch.com> wrote:
> > >
> > > Hello Tom,
> > >
> > > Just to be sure. In the past we had NET enabled such that the fused MAC is taken over, although we don’t use NET CMD.
> > > With your changes, does I.mx6 evaluate the MAC fuses and forward it to Linux?
> > >
> > > Our board: Bosch ACC.
> >
> > I honestly don't know as I don't see how it's doing that today in
> > current master (which does not have this change) so you might
> > need to start by confirming behavior in the current tree and working
> > from there, thanks.
> 
> It's usually reading from eFUSES and populates details via DT using
> alias bits, whether or not that uses/depends on code in net I'm not
> sure.

Right. The regular (to me at least) hook is fdt_fixup_ethernet() which a
few boards call, but not board/bosch/acc/ code.  There's a couple of
other calls in places, and then also a few places that modify
"local-mac-address" or "mac-address" directly.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231127/2470f8a1/attachment.sig>


More information about the U-Boot mailing list