diff options
author | Simon Glass <sjg@chromium.org> | 2014-12-10 15:55:51 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-12-11 20:18:42 (GMT) |
commit | 6ec1b7535873dee4c73895e430494e12be4e3e4d (patch) | |
tree | 588586656c2c3fa6d9231b23b622f768ccac7dd9 /drivers/misc/Makefile | |
parent | d19de0d314010ac8566ac363ce85f2d3707d5c72 (diff) | |
download | u-boot-fsl-qoriq-6ec1b7535873dee4c73895e430494e12be4e3e4d.tar.xz |
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>
Diffstat (limited to 'drivers/misc/Makefile')
-rw-r--r-- | drivers/misc/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index 2f2e48f..ff02184 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -20,6 +20,9 @@ obj-$(CONFIG_MXC_OCOTP) += mxc_ocotp.o obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o obj-$(CONFIG_NS87308) += ns87308.o obj-$(CONFIG_PDSP188x) += pdsp188x.o +ifdef CONFIG_DM_I2C +obj-$(CONFIG_SANDBOX) += i2c_eeprom_emul.o +endif obj-$(CONFIG_STATUS_LED) += status_led.o obj-$(CONFIG_TWL4030_LED) += twl4030_led.o obj-$(CONFIG_FSL_IFC) += fsl_ifc.o |