bcm2835_mbox/property: replace ldl_phys/stl_phys with endian-specific accesses
commiteab713941ab83c6d30739e430357e817bf81dad1
authorAndrew Baumann <Andrew.Baumann@microsoft.com>
Fri, 4 Mar 2016 11:30:18 +0000 (4 11:30 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 4 Mar 2016 11:30:18 +0000 (4 11:30 +0000)
treecce06d5a80235bca5be00a8b8cbccc0ee8c80409
parent4824a61a6dc1ce768be5c0a81f16224618104a63
bcm2835_mbox/property: replace ldl_phys/stl_phys with endian-specific accesses

PMM pointed out that ldl_phys and stl_phys are dependent on the CPU's
endianness, whereas device model code should be independent of
it. This changes the relevant Raspberry Pi devices to explicitly call
the little-endian variants.

Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Message-id: 1456880233-22568-1-git-send-email-Andrew.Baumann@microsoft.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/bcm2835_mbox.c
hw/misc/bcm2835_property.c