commit | 1fe8a4970c10b780079bc66551550cf442294704 | [log] [tgz] |
---|---|---|
author | Robert Beckett <bob.beckett@collabora.com> | Mon Oct 28 17:44:58 2019 +0000 |
committer | Heiko Schocher <hs@denx.de> | Tue Dec 17 06:57:22 2019 +0100 |
tree | df80b24f773abc32a670dc241c4d044d5c83ed6f | |
parent | 5f8e41a597a8593e954ab470e1c8e8b1eef92aef [diff] |
dm: i2c: EEPROM simulator allow tests visibility of addr and offset Improve i2c EEPROM simulator testing by providing access functions to check the previous chip addr and offset. Given that we can now directly test the offsets, also simplified the offset mapping and allow for wrapping acceses. Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Reviewed-by: Heiko Schocher <hs@denx.de>