sdhci: Fix 64-bit ADMA2
commit04654b5a8c8ed5c2fcd77da0c555c936141ee125
authorSai Pavan Boddu <saipava@xilinx.com>
Thu, 8 Feb 2018 16:48:00 +0000 (8 13:48 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Feb 2018 15:15:08 +0000 (13 16:15 +0100)
treef44e847e32190ab180baef5fb2afac87ced43782
parentbf8ec38e17d27e7ebbfd31a3725a77209abe943d
sdhci: Fix 64-bit ADMA2

The 64-bit ADMA address is not converted to the cpu endianes correctly.
This patch fixes the issue and uses a valid mask for the attribute data.

Signed-off-by: Sai Pavan Boddu <saipava@xilinx.com>
[AF: Re-write commit message]
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-Id: <20180208164818.7961-13-f4bug@amsat.org>
hw/sd/sdhci.c