
21 Jul
2009
21 Jul
'09
7:41 a.m.
Simon Kagstrom wrote:
kwgbe_send/recv both have loops waiting for the hardware to set a bit. GCC 4.3.3 cleverly optimizes the send case to ... a while(1); loop. This patch uses readl to force a read from device memory. Other volatile accesses have also been replaced with readl/writel where appropriate (as per suggestions on the U-boot mailing list).
Signed-off-by: Simon Kagstrom simon.kagstrom@netinsight.net
Applied to net repo.
thanks, Ben