aboutsummaryrefslogtreecommitdiff
path: root/hw/smbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/smbus.h')
-rw-r--r--hw/smbus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/smbus.h b/hw/smbus.h
index 571c52dfb1..a39871593b 100644
--- a/hw/smbus.h
+++ b/hw/smbus.h
@@ -66,3 +66,6 @@ void smbus_write_word(i2c_bus *bus, uint8_t addr, uint8_t command, uint16_t data
int smbus_read_block(i2c_bus *bus, uint8_t addr, uint8_t command, uint8_t *data);
void smbus_write_block(i2c_bus *bus, uint8_t addr, uint8_t command, uint8_t *data,
int len);
+
+void smbus_eeprom_init(i2c_bus *smbus, int nb_eeprom,
+ const uint8_t *eeprom_spd, int size);