[PATCH] net: fsl_enetc: fix imdio register calculation

Fabio Estevam festevam at gmail.com
Mon May 12 23:50:46 CEST 2025


On Mon, Apr 28, 2025 at 7:00 AM Heiko Thiery <heiko.thiery at gmail.com> wrote:
>
> From: Thomas Schaefer <thomas.schaefer at kontron.com>
>
> With commit cc4e8af2c552, fsl_enetc register accessors have been split to
> handle different register offsets on different SoCs. However, for
> internal MDIO register calculation, only ENETC_PM_IMDIO_BASE was fixed
> without adding the SoC specific MAC register offset.
>
> As a result, the network support for the Kontron SMARC-sAL28 and
> probably other boards based on the LS1028A CPU is broken.
>
> Add the SoC specific MAC register offset to calculation of imdio.priv to
> fix this.
>
> Fixes: cc4e8af2c552 ("net: fsl_enetc: Split register accessors")
> Signed-off-by: Thomas Schaefer <thomas.schaefer at kontron.com>
> Signed-off-by: Heiko Thiery <heiko.thiery at gmail.com>

Applied, thanks.


More information about the U-Boot mailing list