Re: [Qemu-devel] [PATCH] bcm2835_mbox/property: replace ldl_phys/stl_phys with endian-specific accesses

2016-03-03 Thread Peter Maydell
On 2 March 2016 at 00:57, Andrew Baumann wrote: > 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-

[Qemu-devel] [PATCH] bcm2835_mbox/property: replace ldl_phys/stl_phys with endian-specific accesses

2016-03-01 Thread Andrew Baumann
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 --- bcm2835_property will probably h