mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
Initial OMAP I^2C controller implementation (communication not tested).
Correct an i2c_start_transfer comment. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3514 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
f34c417ba6
commit
4a2c8ac2bc
3 changed files with 428 additions and 2 deletions
3
hw/i2c.c
3
hw/i2c.c
|
|
@ -51,8 +51,7 @@ int i2c_bus_busy(i2c_bus *bus)
|
|||
return bus->current_dev != NULL;
|
||||
}
|
||||
|
||||
/* Returns nonzero if the bus is already busy, or is the address is not
|
||||
valid. */
|
||||
/* Returns non-zero if the address is not valid. */
|
||||
/* TODO: Make this handle multiple masters. */
|
||||
int i2c_start_transfer(i2c_bus *bus, int address, int recv)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue