* [U-Boot] [PATCH v2] misc: Kconfig: Add SPL_I2C_EEPROM option
@ 2017-09-06 5:08 Wenyou Yang
2017-09-11 6:17 ` Simon Glass
2017-09-12 13:31 ` [U-Boot] [U-Boot,v2] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Wenyou Yang @ 2017-09-06 5:08 UTC (permalink / raw)
To: u-boot
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>
---
Changes in v2:
- Rebase the uboot/master (84a4206).
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 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
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
--
2.13.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH v2] misc: Kconfig: Add SPL_I2C_EEPROM option
2017-09-06 5:08 [U-Boot] [PATCH v2] misc: Kconfig: Add SPL_I2C_EEPROM option Wenyou Yang
@ 2017-09-11 6:17 ` Simon Glass
2017-09-12 13:31 ` [U-Boot] [U-Boot,v2] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2017-09-11 6:17 UTC (permalink / raw)
To: u-boot
On 5 September 2017 at 23:08, Wenyou Yang <wenyou.yang@microchip.com> 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 <wenyou.yang@microchip.com>
> ---
>
> Changes in v2:
> - Rebase the uboot/master (84a4206).
>
> drivers/misc/Kconfig | 8 ++++++++
> drivers/misc/Makefile | 2 +-
> 2 files changed, 9 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [U-Boot,v2] misc: Kconfig: Add SPL_I2C_EEPROM option
2017-09-06 5:08 [U-Boot] [PATCH v2] misc: Kconfig: Add SPL_I2C_EEPROM option Wenyou Yang
2017-09-11 6:17 ` Simon Glass
@ 2017-09-12 13:31 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2017-09-12 13:31 UTC (permalink / raw)
To: u-boot
On Wed, Sep 06, 2017 at 01:08:14PM +0800, 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 <wenyou.yang@microchip.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
Applied to u-boot/master, thanks!
--
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/20170912/a3c3f171/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-12 13:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-06 5:08 [U-Boot] [PATCH v2] misc: Kconfig: Add SPL_I2C_EEPROM option Wenyou Yang
2017-09-11 6:17 ` Simon Glass
2017-09-12 13:31 ` [U-Boot] [U-Boot,v2] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.