aboutsummaryrefslogtreecommitdiff
path: root/hw/vexpress.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-07-22 13:42:39 +0000
committerPeter Maydell <peter.maydell@linaro.org>2011-08-17 23:01:21 +0000
commit242ea2c6bc96473d37894b258a28a2162208228c (patch)
treeeb38f2714b260eddfd688ae3e2319e5314ef4037 /hw/vexpress.c
parent4fbf55568bb53a27a8c6270f1d3e2f6daf05c705 (diff)
downloadqemu-242ea2c6bc96473d37894b258a28a2162208228c.zip
qemu-242ea2c6bc96473d37894b258a28a2162208228c.tar.gz
qemu-242ea2c6bc96473d37894b258a28a2162208228c.tar.bz2
versatilepb: Implement SYS_CLCD mux control register bits
On the Versatile PB, PL110 graphics adaptor only natively supports 5551 pixel format; an external mux swaps bits around to allow RGB565 and BGR565, under the control of bits [1:0] in the SYS_CLCD system register. Implement these SYS_CLCD register bits, and use a gpio line to feed them out of the system register model, across the versatilepb board and into the pl110 so we can select the right format. This is necessary as recent Linux versatile kernels default to programming the CLCD and mux for 16 bit BGR rather than 16 bit RGB. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/vexpress.c')
0 files changed, 0 insertions, 0 deletions