diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2018-06-19 10:52:15 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-06-21 21:22:53 +1000 |
commit | ef9173a5c086b5114343a86943f9b26a9c72d7d6 (patch) | |
tree | 345b7ca3c115f2a6caad566f2af04be1439cbb48 /target/unicore32 | |
parent | 39aeba6caa4b9de8b195fddddae5cc5835d19b04 (diff) |
ppc4xx_i2c: Implement directcntl register
As well as being able to generate its own i2c transactions, the ppc4xx
i2c controller has a DIRECTCNTL register which allows explicit control
of the i2c lines.
Using this register an OS can directly bitbang i2c operations. In
order to let emulated i2c devices respond to this, we need to wire up
the DIRECTCNTL register to qemu's bitbanged i2c handling code.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/unicore32')
0 files changed, 0 insertions, 0 deletions