misc: Kconfig: Add SPL_I2C_EEPROM option
PATCH 1/1 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.
---
drivers/misc/Kconfig | 8 ++++++++ drivers/misc/Makefile | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-)
drivers/misc/Kconfig +8 -0
@@ -196,4 +196,12 @@ config I2C_EEPROM depends on MISC 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. + endmenu
drivers/misc/Makefile +1 -1
@@ -20,7 +20,7 @@ obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o endif obj-$(CONFIG_FSL_IIM) += fsl_iim.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_MXC_OCOTP) += mxc_ocotp.o obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o
Signature · 1 line
2.13.0
Yang
PATCH 1/1 misc: Kconfig: Add SPL_I2C_EEPROM option
Hi,
Do you have any comments?
Quoted 32 lines · Wenyou Yang
This option is an SPL-variant of the
I2C_EEPROMoption to enable the driver for generic I2C-attached EEPROMs for SPL.Signed-off-by Wenyou Yang <[email protected]>---
drivers/misc/Kconfig | 8 ++++++++ drivers/misc/Makefile | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-)drivers/misc/Kconfig +8
-0@@ -196,4 +196,12 @@ config I2C_EEPROM depends on MISC 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. + endmenudrivers/misc/Makefile +0
-0
drivers/misc/Makefile obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o · line 26
Quoted 8 lines
drivers/misc/Makefile +1
-1@@ -20,7 +20,7 @@ obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o endif obj-$(CONFIG_FSL_IIM) += fsl_iim.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_MXC_OCOTP) += mxc_ocotp.o obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o
Best Regards,
Wenyou Yang
PATCH 1/1 misc: Kconfig: Add SPL_I2C_EEPROM option
Quoted 38 lines · Wenyou
Hi,
Do you have any comments?
Quoted 32 lines · Wenyou Yang
This option is an SPL-variant of the
I2C_EEPROMoption to enable the driver for generic I2C-attached EEPROMs for SPL.Signed-off-by Wenyou Yang <[email protected]>---
drivers/misc/Kconfig | 8 ++++++++ drivers/misc/Makefile | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-)drivers/misc/Kconfig +8
-0@@ -196,4 +196,12 @@ config I2C_EEPROM depends on MISC 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. + endmenudrivers/misc/Makefile +0
-0@@ -20,7 +20,7 @@ obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o
Quoted 8 lines
drivers/misc/Makefile obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o · line 26
Quoted 8 lines
drivers/misc/Makefile +1
-1endif obj-$(CONFIG_FSL_IIM) += fsl_iim.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_MXC_OCOTP) += mxc_ocotp.o obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o
I'm running behind, sorry. I hope to grab this and do (and check) the Kconfig migration soon.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170901/9646fd8e/attachment.sig>