Re: [PATCH] net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode

From: Andrew Lunn
Date: Fri Jul 28 2023 - 05:02:36 EST


> U-Boot does support the network interface (sni-netsec.c) but I'll have to
> check what that code does wrt to the PHY config. Since the interface works
> I am assuming some config is done properly.

It might only be done if TFTP boot is used etc. If booting from FLASH,
maybe the network is not initialised, leaving the PHY in its power on
default state.

In general, it is much better for Linux not to assume the bootloader
has configured the hardware, since developers have a choice of boot
loaders.

Andrew