public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 2/2] ot1200: add eeprom command to non-SPL build
@ 2015-02-11 14:20 Christian Gmeiner
  2015-02-17  9:38 ` Stefano Babic
  2015-02-17  9:53 ` Stefano Babic
  0 siblings, 2 replies; 3+ messages in thread
From: Christian Gmeiner @ 2015-02-11 14:20 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
---
 include/configs/ot1200.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index c061e93..3c60b4f 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -131,6 +131,16 @@
 #define CONFIG_PHYLIB
 #define CONFIG_PHY_SMSC
 
+#ifndef CONFIG_SPL
+#define CONFIG_CMD_EEPROM
+#define CONFIG_ENV_EEPROM_IS_ON_I2C
+#define CONFIG_SYS_I2C_EEPROM_BUS             1
+#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN        1
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS     3
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
+#define CONFIG_SYS_I2C_MULTI_EEPROMS
+#endif
+
 /* Miscellaneous commands */
 #define CONFIG_CMD_BMODE
 #define CONFIG_CMD_SETEXPR
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH 2/2] ot1200: add eeprom command to non-SPL build
  2015-02-11 14:20 [U-Boot] [PATCH 2/2] ot1200: add eeprom command to non-SPL build Christian Gmeiner
@ 2015-02-17  9:38 ` Stefano Babic
  2015-02-17  9:53 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2015-02-17  9:38 UTC (permalink / raw)
  To: u-boot

On 11/02/2015 15:20, Christian Gmeiner wrote:
> Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
> ---
>  include/configs/ot1200.h | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
> index c061e93..3c60b4f 100644
> --- a/include/configs/ot1200.h
> +++ b/include/configs/ot1200.h
> @@ -131,6 +131,16 @@
>  #define CONFIG_PHYLIB
>  #define CONFIG_PHY_SMSC
>  
> +#ifndef CONFIG_SPL
> +#define CONFIG_CMD_EEPROM
> +#define CONFIG_ENV_EEPROM_IS_ON_I2C
> +#define CONFIG_SYS_I2C_EEPROM_BUS             1
> +#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN        1
> +#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS     3
> +#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
> +#define CONFIG_SYS_I2C_MULTI_EEPROMS
> +#endif
> +
>  /* Miscellaneous commands */
>  #define CONFIG_CMD_BMODE
>  #define CONFIG_CMD_SETEXPR
> 

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH 2/2] ot1200: add eeprom command to non-SPL build
  2015-02-11 14:20 [U-Boot] [PATCH 2/2] ot1200: add eeprom command to non-SPL build Christian Gmeiner
  2015-02-17  9:38 ` Stefano Babic
@ 2015-02-17  9:53 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2015-02-17  9:53 UTC (permalink / raw)
  To: u-boot

On 11/02/2015 15:20, Christian Gmeiner wrote:
> Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
> ---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic



-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-17  9:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-11 14:20 [U-Boot] [PATCH 2/2] ot1200: add eeprom command to non-SPL build Christian Gmeiner
2015-02-17  9:38 ` Stefano Babic
2015-02-17  9:53 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox