diff options
author | Simon Kagstrom <simon.kagstrom@netinsight.net> | 2009-07-08 11:03:18 (GMT) |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-07-23 05:53:45 (GMT) |
commit | 7b05f5e027b81cd3a9a41c6c6d3fe09c72fa93f6 (patch) | |
tree | fb66f9d1dacc15cc3544a61ca1e52ca18a4d0090 /lib_blackfin/memcmp.S | |
parent | 3f6b18ffd94621625de961bc566022b0266790f5 (diff) | |
download | u-boot-fsl-qoriq-7b05f5e027b81cd3a9a41c6c6d3fe09c72fa93f6.tar.xz |
arm: Kirkwood: Fix compiler optimization bug for kwgbe_send
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>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'lib_blackfin/memcmp.S')
0 files changed, 0 insertions, 0 deletions