[U-Boot,v2,2/5] arm/km: use board KM_ENV_BUS for CONFIG_I2C_ENV_EEPROM_BUS

Submitted by Holger Brunck on June 8, 2011, 11:42 a.m.

Details

Message ID 1307533367-14709-3-git-send-email-holger.brunck@keymile.com
State Superseded
Headers show

Commit Message

Holger Brunck June 8, 2011, 11:42 a.m.
From: Valentin Longchamp <valentin.longchamp@keymile.com>

This is defined for all km_kirkwood boards and was not used up to now.
This value was the same for all boards but it could be changed for some
boards (and thus needs to be defined for every board).

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Heiko Schocher <hs@denx.de>
---
Changes for v2:
    - the content is the same but patch is now 2/5 instead 5/6

 include/configs/km/km_arm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Prafulla Wadaskar June 11, 2011, 4:20 a.m.
> -----Original Message-----
> From: Holger Brunck [mailto:holger.brunck@keymile.com]
> Sent: Wednesday, June 08, 2011 5:13 PM
> To: u-boot@lists.denx.de
> Cc: Valentin Longchamp; Holger Brunck; Prafulla Wadaskar; Heiko Schocher
> Subject: [PATCH v2 2/5] arm/km: use board KM_ENV_BUS for
> CONFIG_I2C_ENV_EEPROM_BUS
> 
> From: Valentin Longchamp <valentin.longchamp@keymile.com>
> 
> This is defined for all km_kirkwood boards and was not used up to now.
> This value was the same for all boards but it could be changed for some
> boards (and thus needs to be defined for every board).
> 
> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> cc: Prafulla Wadaskar <prafulla@marvell.com>
> cc: Heiko Schocher <hs@denx.de>
> ---
> Changes for v2:
>     - the content is the same but patch is now 2/5 instead 5/6
> 
>  include/configs/km/km_arm.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 

Applied to u-boot-marvell.git next branch
Regards..
Prafulla . .

Patch hide | download patch | download mbox

diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index 5b0f1d8..d642ba1 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -215,7 +215,7 @@  int get_scl(void);
 #define CONFIG_SYS_EEPROM_WREN
 #define CONFIG_ENV_OFFSET		0x0 /* no bracets! */
 #define CONFIG_ENV_SIZE			(0x2000 - CONFIG_ENV_OFFSET)
-#define CONFIG_I2C_ENV_EEPROM_BUS	"pca9547:70:d\0"
+#define CONFIG_I2C_ENV_EEPROM_BUS	KM_ENV_BUS "\0"
 
 /* offset redund: (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE) */
 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT