• Bob Beckett's avatar
    misc: i2c_eeprom: add size query · f76f30e3
    Bob Beckett authored
    Add ability to query size of eeprom device and partitions
    Signed-off-by: Bob Beckett's avatarRobert Beckett <bob.beckett@collabora.com>
    Series-to: u-boot@lists.denx.de
    Series-cc: Robert Beckett <bob.beckett@collabora.com>
    misc: i2c_eeprom: add paritioning and size query
    Add ability to specify paritions for eeprom in device tree, and query
    eeprom device sizes.
    Each partition creates a child device, allowing board code to
    find the eeprom parition by name.
i2c_eeprom.c 7.49 KB