summaryrefslogtreecommitdiff
path: root/lib_sparc
diff options
context:
space:
mode:
authorSimon Kagstrom <simon.kagstrom@netinsight.net>2009-07-08 13:03:18 +0200
committerBen Warren <biggerbadderben@gmail.com>2009-07-22 22:53:45 -0700
commit7b05f5e027b81cd3a9a41c6c6d3fe09c72fa93f6 (patch)
treefb66f9d1dacc15cc3544a61ca1e52ca18a4d0090 /lib_sparc
parent3f6b18ffd94621625de961bc566022b0266790f5 (diff)
downloadu-boot-imx-7b05f5e027b81cd3a9a41c6c6d3fe09c72fa93f6.zip
u-boot-imx-7b05f5e027b81cd3a9a41c6c6d3fe09c72fa93f6.tar.gz
u-boot-imx-7b05f5e027b81cd3a9a41c6c6d3fe09c72fa93f6.tar.bz2
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_sparc')
0 files changed, 0 insertions, 0 deletions