On 22 June 2016 at 07:14, Mario Six <mario....@gdsys.cc> wrote: > From: "mario....@gdsys.cc" <mario....@gdsys.cc> > > This patch implements the reading functionality for the generic I2C > EEPROM driver, which was just a non-functional stub until now. > > Since the page size will be of importance for the writing support, we > add suitable members to the private data structure to keep track of it. > > Compatibility strings for a range of at24c* chips are added. > > Signed-off-by: Mario Six <mario....@gdsys.cc> > --- > > Changes in v2: > - Simplified and documented the i2c_eeprom struct > - Simplified the read function > - Corrected Kconfig dependency (from DM to MISC) > > --- > drivers/misc/Kconfig | 5 +++++ > drivers/misc/i2c_eeprom.c | 39 +++++++++++++++++++++++++++++++-------- > include/i2c_eeprom.h | 4 ++++ > 3 files changed, 40 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot