diff options
author | mario.six@gdsys.cc <mario.six@gdsys.cc> | 2016-06-22 15:14:16 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-22 09:52:59 -0400 |
commit | d7e28918aa3f4bafc15b16c546826d43fbcbe9f6 (patch) | |
tree | a010addfaa62742ea533c7e47ff6f2e9eca5185d /drivers/misc/Kconfig | |
parent | 9f03247edc7761b608db31104821b4518a70e691 (diff) | |
download | u-boot-imx-d7e28918aa3f4bafc15b16c546826d43fbcbe9f6.zip u-boot-imx-d7e28918aa3f4bafc15b16c546826d43fbcbe9f6.tar.gz u-boot-imx-d7e28918aa3f4bafc15b16c546826d43fbcbe9f6.tar.bz2 |
i2c_eeprom: Add reading support
This patch implements the reading functionality for the generic I2C
EEPROM driver, which was just a non-functional stub until now.
Since the page size will be of importance for the writing support, we
add suitable members to the private data structure to keep track of it.
Compatibility strings for a range of at24c* chips are added.
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 2373037..b84e351 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -144,4 +144,9 @@ config QFW Hidden option to enable QEMU fw_cfg interface. This will be selected by either CONFIG_CMD_QFW or CONFIG_GENERATE_ACPI_TABLE. +config I2C_EEPROM + bool "Enable driver for generic I2C-attached EEPROMs" + depends on MISC + help + Enable a generic driver for EEPROMs attached via I2C. endmenu |