Skip to content
Commit 22e93511 authored by Robert Beckett's avatar Robert Beckett Committed by Heiko Schocher
Browse files

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: default avatarRobert Beckett <bob.beckett@collabora.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 85968522
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment