summaryrefslogtreecommitdiff
path: root/drivers/misc/i2c_eeprom_emul.c
Commit message (Collapse)AuthorAgeLines
* sandbox: Add missing errno.h includes in a few filesSimon Glass2015-05-14-0/+1
| | | | | | These files use error numbering, so add the include. Signed-off-by: Simon Glass <sjg@chromium.org>
* dm: i2c: Add an I2C EEPROM simulatorSimon Glass2014-12-11-0/+168
To enable testing of I2C, add a simple I2C EEPROM simulator for sandbox. It supports reading and writing from a small data store. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>