pl080: use specific endian ld/st_phys
Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
ae5d3eb474
commit
75b0646f9e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user