ppc4xx_i2c: Remove unimplemented sdata and intr registers
commit39aeba6caa4b9de8b195fddddae5cc5835d19b04
authorBALATON Zoltan <balaton@eik.bme.hu>
Tue, 19 Jun 2018 08:52:15 +0000 (19 10:52 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 21 Jun 2018 11:22:53 +0000 (21 21:22 +1000)
treec0004a6b4c00f2054ea1b13bec43f7e27abe6ba2
parenta69232e2a36b9fcee46ddbf140ab2de1583abf39
ppc4xx_i2c: Remove unimplemented sdata and intr registers

We don't emulate slave mode so related registers are not needed.
[lh]sadr are only retained to avoid too many warnings and simplify
debugging but sdata is not even correct because device has a 4 byte
FIFO instead so just remove this unimplemented register for now.

The intr register is also not implemented correctly, it is for
diagnostics and normally not even visible on device without explicitly
enabling it. As no guests are known to need this remove it as well.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/i2c/ppc4xx_i2c.c
include/hw/i2c/ppc4xx_i2c.h