sm501: Add some more missing registers
commitb612a49db2300e460d845d7517031517acec1c2c
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 21 Apr 2017 15:18:09 +0000 (21 17:18 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Apr 2017 11:32:12 +0000 (24 12:32 +0100)
tree75c8748f5ff38ded1dcead920bc5065a047cc662
parent1ae5e6eb42708b8ac00ba85bbbb5e2330dcf7099
sm501: Add some more missing registers

This is to allow clients to initialise these without failing as long
as no 2D engine function is called that would use the written value.
Saved values are not used yet (may get used when more of 2D engine is
added sometimes) and clients normally only write to most of these
registers, nothing is known to ever read them but they are documented
as read/write so also implement read for these.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Message-id: 80adf8e4d084ec6cc30d149f8e8215debb67314a.1492787889.git.balaton@eik.bme.hu
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/display/sm501.c