On 4/28/25 11:59 AM, Heiko Thiery wrote:
From: Thomas Schaefer <thomas.schae...@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.schae...@kontron.com>
Signed-off-by: Heiko Thiery <heiko.thi...@gmail.com>
Reviewed-by: Marek Vasut <ma...@denx.de>