summary refs log tree commit diff stats
path: root/hw/pl080.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-07-05 18:28:07 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-07-12 20:00:30 +0000
commit75b0646f9e25e42cdf1d73f7d2407c4966be48f1 (patch)
tree5489a2474181031ce0752df2a6f81dcbdc5b9f1c /hw/pl080.c
parentae5d3eb4745dbcc38a4d6bbaff563f4c2d0e7a16 (diff)
downloadfocaccia-qemu-75b0646f9e25e42cdf1d73f7d2407c4966be48f1.tar.gz
focaccia-qemu-75b0646f9e25e42cdf1d73f7d2407c4966be48f1.zip
pl080: use specific endian ld/st_phys
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pl080.c')
-rw-r--r--hw/pl080.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/pl080.c b/hw/pl080.c
index 901f04a844..dd8139ba96 100644
--- a/hw/pl080.c
+++ b/hw/pl080.c
@@ -199,10 +199,10 @@ again:
             if (size == 0) {
                 /* Transfer complete.  */
                 if (ch->lli) {
-                    ch->src = ldl_phys(ch->lli);
-                    ch->dest = ldl_phys(ch->lli + 4);
-                    ch->ctrl = ldl_phys(ch->lli + 12);
-                    ch->lli = ldl_phys(ch->lli + 8);
+                    ch->src = ldl_le_phys(ch->lli);
+                    ch->dest = ldl_le_phys(ch->lli + 4);
+                    ch->ctrl = ldl_le_phys(ch->lli + 12);
+                    ch->lli = ldl_le_phys(ch->lli + 8);
                 } else {
                     ch->conf &= ~PL080_CCONF_E;
                 }