mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
fafa440342
commit
d81a1de96e
2 changed files with 9 additions and 1 deletions
|
@ -197,6 +197,14 @@ config I2C_EEPROM
|
||||||
help
|
help
|
||||||
Enable a generic driver for EEPROMs attached via I2C.
|
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
|
if I2C_EEPROM
|
||||||
|
|
||||||
config SYS_I2C_EEPROM_ADDR
|
config SYS_I2C_EEPROM_ADDR
|
||||||
|
|
|
@ -20,7 +20,7 @@ obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o
|
||||||
endif
|
endif
|
||||||
obj-$(CONFIG_FSL_IIM) += fsl_iim.o
|
obj-$(CONFIG_FSL_IIM) += fsl_iim.o
|
||||||
obj-$(CONFIG_LED_STATUS_GPIO) += gpio_led.o
|
obj-$(CONFIG_LED_STATUS_GPIO) += gpio_led.o
|
||||||
obj-$(CONFIG_I2C_EEPROM) += i2c_eeprom.o
|
obj-$(CONFIG_$(SPL_)I2C_EEPROM) += i2c_eeprom.o
|
||||||
obj-$(CONFIG_FSL_MC9SDZ60) += mc9sdz60.o
|
obj-$(CONFIG_FSL_MC9SDZ60) += mc9sdz60.o
|
||||||
obj-$(CONFIG_MXC_OCOTP) += mxc_ocotp.o
|
obj-$(CONFIG_MXC_OCOTP) += mxc_ocotp.o
|
||||||
obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o
|
obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o
|
||||||
|
|
Loading…
Add table
Reference in a new issue