commit | e22242141331bc829ecca194f5c06f674da618ef | [log] [tgz] |
---|---|---|
author | Cédric Le Goater <clg@kaod.org> | Fri Jun 08 13:15:32 2018 +0100 |
committer | Peter Maydell <peter.maydell@linaro.org> | Fri Jun 08 13:15:32 2018 +0100 |
tree | e89ab28f42d5ccfdda995f3dafe35b5788f20634 | |
parent | 6c4567c730488a667eb7d33f19c9dfcae21187bc [diff] |
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>