]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: fsl_enetc: fix the duplex setting on the iMX platform
authorClark Wang <xiaoning.wang@nxp.com>
Tue, 12 May 2026 03:26:30 +0000 (11:26 +0800)
committerFabio Estevam <festevam@gmail.com>
Fri, 15 May 2026 20:31:40 +0000 (17:31 -0300)
commit11af22cd1e201882a7e5fa4a346f04b449f463d1
tree1802cb3f642872a1cbc9e2040a8752afad8649eb
parenta8684df5ed06a1b8fc31c62cb8c1342e6eb4aea6
net: fsl_enetc: fix the duplex setting on the iMX platform

The iMX and LS platforms use different bits in the same register to
set duplex, but their logics are opposite.
The current settings will result in unexpected configurations in
RGMII mode.

Fixes: e6df2f5e22c6 ("net: fsl_enetc: Update enetc driver to support i.MX95")
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Tim Harvey <tharvey@gateworks.com>
drivers/net/fsl_enetc.c