sm501: Implement i2c part for reading monitor EDID
commit4a1f253adb45ac6019971193d5077c4d5d55886a
authorBALATON Zoltan <balaton@eik.bme.hu>
Wed, 4 Jul 2018 09:40:58 +0000 (4 11:40 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 7 Jul 2018 02:12:27 +0000 (7 12:12 +1000)
tree1da0c5f6ba385d1277632f6944eb58a5a533e8a9
parent9e3a83a15b4d94e7738464e92b6c5cb335961ce7
sm501: Implement i2c part for reading monitor EDID

Emulate the i2c part of SM501 which is used to access the EDID info
from a monitor.

The vmstate structure is changed and its version is increased but
SM501 is only used on SH and PPC sam460ex machines that don't support
cross-version migration.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
default-configs/ppc-softmmu.mak
default-configs/ppcemb-softmmu.mak
default-configs/sh4-softmmu.mak
default-configs/sh4eb-softmmu.mak
hw/display/sm501.c