dbdma: fix endian of DBDMA_CMDPTR_LO during branch
commit3f0d4128dc641f082c3631d610f843b0cdbb6e61
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 10 Jul 2016 18:08:55 +0000 (10 19:08 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 18 Jul 2016 00:40:27 +0000 (18 10:40 +1000)
tree03b2ccadd823f4041b869b9ca3dfdf10fe262913
parent3e49c43940fa3e61911969dd7b60534d9ec7f00f
dbdma: fix endian of DBDMA_CMDPTR_LO during branch

The current DBDMA command is stored in little-endian format, so make sure
we convert it to match our CPU when updating the DBDMA_CMDPTR_LO register.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/misc/macio/mac_dbdma.c