From: Tom Rini Date: Fri, 1 Sep 2017 17:47:25 -0400 Subject: [U-Boot] [PATCH] misc: Kconfig: Add SPL_I2C_EEPROM option In-Reply-To: <089c8361-d74f-a685-6710-feeb43c7e830@Microchip.com> References: <20170803010025.9227-1-wenyou.yang@microchip.com> <089c8361-d74f-a685-6710-feeb43c7e830@Microchip.com> Message-ID: <20170901214725.GL17058@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Sep 01, 2017 at 04:01:58PM +0800, Yang, Wenyou wrote: > Hi, > > Do you have any comments? > > > On 2017/8/3 9:00, Wenyou Yang wrote: > >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 > >--- > > > > drivers/misc/Kconfig | 8 ++++++++ > > drivers/misc/Makefile | 2 +- > > 2 files changed, 9 insertions(+), 1 deletion(-) > > > >diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig > >index d1ddbbe157..e441031d04 100644 > >--- a/drivers/misc/Kconfig > >+++ b/drivers/misc/Kconfig > >@@ -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 > >diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile > >index 10265c8fb4..21f7e6c6f5 100644 > >--- a/drivers/misc/Makefile > >+++ b/drivers/misc/Makefile > >@@ -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 I'm running behind, sorry. I hope to grab this and do (and check) the Kconfig migration soon. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: