ot1200: add eeprom command to non-SPL build
PATCH 2/2 ot1200: add eeprom command to non-SPL build
Signed-off-by Christian Gmeiner <[email protected]>
--- include/configs/ot1200.h | 10 ++++++++++ 1 file changed, 10 insertions(+)
include/configs/ot1200.h +10 -0
@@ -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
Signature · 1 line
2.1.0
PATCH 2/2 ot1200: add eeprom command to non-SPL build
Quoted 17 lines · Christian Gmeiner
Signed-off-by Christian Gmeiner <[email protected]>--- include/configs/ot1200.h | 10 ++++++++++ 1 file changed, 10 insertions(+)include/configs/ot1200.h +3
-0@@ -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
include/configs/ot1200.h line 146
Quoted 10 lines
include/configs/ot1200.h +7
-0+#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 <[email protected]>
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 =====================================================================
PATCH 2/2 ot1200: add eeprom command to non-SPL build
In reply to Christian GmeinerQuoted 2 lines · Christian Gmeiner
Signed-off-by Christian Gmeiner <[email protected]>---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 =====================================================================