]> git.sur5r.net Git - u-boot/commit
at91_emac.c: poll for IDLE when writing PHY
authorAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 7 Sep 2010 17:10:34 +0000 (19:10 +0200)
committerReinhard Meyer <u-boot@emk-elektronik.de>
Tue, 5 Oct 2010 14:58:55 +0000 (16:58 +0200)
commit38bda019e484c459e0d7a2ffb7be124bca14f586
tree245d4a06a7305a1cf7c3e879df84b83558822643
parent4b8d77bb93168e4cbaa2d0f040732de540ad5ea2
at91_emac.c: poll for IDLE when writing PHY

This patch replaces the unnecessary waiting in at91emac_read() and
at91emac_write() by checking the IDLE flag.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/net/at91_emac.c