Files
u-boot/drivers
Thomas Schaefer 9373e5aecf net: fsl_enetc: fix imdio register calculation
With commit cc4e8af2c5, 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: cc4e8af2c5 ("net: fsl_enetc: Split register accessors")
Signed-off-by: Thomas Schaefer <thomas.schaefer@kontron.com>
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> # LS1028A
Tested-by: Tim Harvey <tharvey@gateworks.com> # imx95_19x19_evk
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Alice Guo <alice.guo@nxp.com>
2025-05-12 18:43:19 -03:00
..
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00
2025-05-12 18:42:53 -03:00
2025-05-03 16:55:32 -03:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00
2025-04-10 20:55:53 -06:00
2024-04-26 08:28:35 +03:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00