summaryrefslogtreecommitdiff
path: root/net/fastboot.c
diff options
context:
space:
mode:
authorMarkus Koch <markus@notsyncing.net>2022-01-11 19:22:54 +0100
committerRamon Fried <ramon@neureality.ai>2022-01-15 18:53:16 +0200
commiteab18b3b06bd914f623c3e8e9d2a905b8cea7366 (patch)
tree6744f462766d64a8e15e73464699831d1949bdbe /net/fastboot.c
parent766ba7837506a4414ce71f84ee8fd2584f45bc06 (diff)
downloadu-boot-eab18b3b06bd914f623c3e8e9d2a905b8cea7366.tar.gz
u-boot-eab18b3b06bd914f623c3e8e9d2a905b8cea7366.tar.bz2
u-boot-eab18b3b06bd914f623c3e8e9d2a905b8cea7366.zip
net: fsl: Fix busy flag polling register
NXP's mEMAC reference manual, Chapter 6.5.5 "MDIO Ethernet Management Interface usage", specifies to poll the BSY (0) bit in the CFG/STAT register to wait until a transaction has finished, not bit 31 in the data register. In the Linux kernel, this has already been fixed in commit 26eee0210ad7 ("net/fsl: fix a bug in xgmac_mdio"). This patch changes the register in the fman_mdio and fsl_ls_mdio drivers. As the MDIO_DATA_BSY define is no longer in use, this patch also removes its definition from the fsl_memac header. Signed-off-by: Markus Koch <markus@notsyncing.net> Reviewed-by: Camelia Groza <camelia.groza@nxp.com>
Diffstat (limited to 'net/fastboot.c')
0 files changed, 0 insertions, 0 deletions