diff options
author | Wenyou Yang <wenyou.yang@microchip.com> | 2017-09-06 13:08:14 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-11 22:44:30 -0400 |
commit | d81a1de96e2636163783c342b8fda965e696e382 (patch) | |
tree | 9ef4005c0b317ff3ab4e08d1f5d34c5ff076a515 /drivers/misc/Kconfig | |
parent | fafa440342a50191504c1da7515ed6e28c933396 (diff) | |
download | u-boot-d81a1de96e2636163783c342b8fda965e696e382.tar.gz |
misc: Kconfig: Add SPL_I2C_EEPROM option
This option is an SPL-variant of the I2C_EEPROM option to enable
the driver for generic I2C-attached EEPROMs for SPL.
Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 3d282d5b14..4133017e32 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -197,6 +197,14 @@ config I2C_EEPROM help Enable a generic driver for EEPROMs attached via I2C. + +config SPL_I2C_EEPROM + bool "Enable driver for generic I2C-attached EEPROMs for SPL" + depends on MISC && SPL && SPL_DM + help + This option is an SPL-variant of the I2C_EEPROM option. + See the help of I2C_EEPROM for details. + if I2C_EEPROM config SYS_I2C_EEPROM_ADDR |