[PATCH] net: fsl_enetc: fix imdio register calculation
Marek Vasut
marex at denx.de
Sun May 11 22:55:14 CEST 2025
On 4/28/25 11:59 AM, Heiko Thiery 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>
Reviewed-by: Marek Vasut <marex at denx.de>
More information about the U-Boot
mailing list