On 20 April 2017 at 21:43, BALATON Zoltan <bala...@eik.bme.hu> wrote: > We only emulate the sysbus device in its default LE mode and PCI is LE > as well so specify this for registers and framebuffer memory. > > Signed-off-by: BALATON Zoltan <bala...@eik.bme.hu> > ---
I think it's worth a comment to the effect of: Note that though the Linux kernel driver has code which claims to handle both big and little endian, it is obviously bogus for 16 bit and cannot be trusted as a source of information on the framebuffer pixel format. This is our best guess about device behaviour based on the specs. (so if we find ourselves wondering about this mismatch in a couple of years time at least we'll know why this end is the way it is.) Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM