dm: Add a simple EEPROM driver
authorSimon Glass <sjg@chromium.org>
Wed, 10 Dec 2014 15:55:54 +0000 (08:55 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 11 Dec 2014 20:18:43 +0000 (13:18 -0700)
commit20142019a96a72bf1516be93a86fc10d028fd136
treea029c7e3490243ceb6d22fe929fa3a0aadf2d1aa
parent776f96f513869a784c3c0bd5a972f408c10e067a
dm: Add a simple EEPROM driver

There seem to be a few EEPROM drivers around - perhaps we should have a
single standard one? This simple driver is used for sandbox testing, but
could be pressed into more active service.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
drivers/misc/Makefile
drivers/misc/i2c_eeprom.c [new file with mode: 0644]
include/dm/uclass-id.h
include/i2c_eeprom.h [new file with mode: 0644]