]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: i2c: Add an I2C EEPROM simulator
authorSimon Glass <sjg@chromium.org>
Wed, 10 Dec 2014 15:55:51 +0000 (08:55 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 11 Dec 2014 20:18:42 +0000 (13:18 -0700)
commit6ec1b7535873dee4c73895e430494e12be4e3e4d
tree588586656c2c3fa6d9231b23b622f768ccac7dd9
parentd19de0d314010ac8566ac363ce85f2d3707d5c72
dm: i2c: Add an I2C EEPROM simulator

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>
arch/sandbox/include/asm/test.h [new file with mode: 0644]
drivers/misc/Makefile
drivers/misc/i2c_eeprom_emul.c [new file with mode: 0644]