summaryrefslogtreecommitdiffstats
path: root/hw/i2c/bitbang_i2c.h
diff options
context:
space:
mode:
authorCédric Le Goater2018-06-08 14:15:32 +0200
committerPeter Maydell2018-06-08 14:15:32 +0200
commite22242141331bc829ecca194f5c06f674da618ef (patch)
treee89ab28f42d5ccfdda995f3dafe35b5788f20634 /hw/i2c/bitbang_i2c.h
parentaspeed: add an I2C RTC device to all machines (diff)
downloadqemu-e22242141331bc829ecca194f5c06f674da618ef.tar.gz
qemu-e22242141331bc829ecca194f5c06f674da618ef.tar.xz
qemu-e22242141331bc829ecca194f5c06f674da618ef.zip
smbus: add a smbus_eeprom_init_one() routine
This is an helper routine to add a single EEPROM on an I2C bus. It can be directly used by smbus_eeprom_init() which adds a certain number of EEPROMs on mips and x86 machines. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180530064049.27976-5-clg@kaod.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c/bitbang_i2c.h')
0 files changed, 0 insertions, 0 deletions