Add support for devices that can overflow the offset in to the chip address. This makes the devices effectively steal consecutive chip addresses.
Also improve i2c testing and add new test for this new addressing mode. Robert Beckett (3): i2c: add support for offset overflow in to address dm: i2c: EEPROM simulator allow tests visibility of addr and offset dm: i2c: EEPROM simulator add tests for addr offset mask arch/sandbox/include/asm/test.h | 7 ++ drivers/i2c/i2c-uclass.c | 34 ++++++++-- drivers/misc/i2c_eeprom_emul.c | 80 +++++++++++++++++------ include/i2c.h | 33 ++++++++++ test/dm/i2c.c | 112 ++++++++++++++++++++++++++++---- 5 files changed, 226 insertions(+), 40 deletions(-) -- 2.20.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot