public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm/km: fix u-boot update functionality
@ 2013-05-06 12:54 Holger Brunck
  2013-05-06 14:02 ` Heiko Schocher
  0 siblings, 1 reply; 3+ messages in thread
From: Holger Brunck @ 2013-05-06 12:54 UTC (permalink / raw)
  To: u-boot

Due to the new I2C framework we need to adapt the u-boot update
function. Due to the new framework all i2c leafs behind a mux are
present in the system and not only those who are defined and used. So it
is bus number 5 after the rework.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Heiko Schocher <hs@denx.de>
cc: Prafulla Wadaskar <prafulla@marvell.com>
---
This patch is dependent to the already posted patchserie:
http://lists.denx.de/pipermail/u-boot/2013-May/153452.html

 include/configs/km/km_arm.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index ebbfa84..4da54d5 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -295,7 +295,8 @@ int get_scl(void);
 #else
 #define CONFIG_KM_NEW_ENV						\
 	"newenv=setenv addr 0x100000 && "				\
-		"i2c dev 1; mw.b ${addr} 0 4 && "			\
+		"i2c dev " __stringify(CONFIG_I2C_ENV_EEPROM_BUS) "; "  \
+		"mw.b ${addr} 0 4 && "					\
 		"eeprom write " __stringify(CONFIG_SYS_DEF_EEPROM_ADDR)	\
 		" ${addr} " __stringify(CONFIG_ENV_OFFSET) " 4 && "	\
 		"eeprom write " __stringify(CONFIG_SYS_DEF_EEPROM_ADDR)	\
-- 
1.8.0.1

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

* [U-Boot] [PATCH] arm/km: fix u-boot update functionality
  2013-05-06 12:54 [U-Boot] [PATCH] arm/km: fix u-boot update functionality Holger Brunck
@ 2013-05-06 14:02 ` Heiko Schocher
  2013-05-07  3:52   ` Prafulla Wadaskar
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Schocher @ 2013-05-06 14:02 UTC (permalink / raw)
  To: u-boot

Hello Prafulla,

Am 06.05.2013 14:54, schrieb Holger Brunck:
> Due to the new I2C framework we need to adapt the u-boot update
> function. Due to the new framework all i2c leafs behind a mux are
> present in the system and not only those who are defined and used. So it
> is bus number 5 after the rework.
> 
> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> cc: Heiko Schocher <hs@denx.de>
> cc: Prafulla Wadaskar <prafulla@marvell.com>
> ---
> This patch is dependent to the already posted patchserie:
> http://lists.denx.de/pipermail/u-boot/2013-May/153452.html
> 
>  include/configs/km/km_arm.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

I added this patch to my ToDo List in Patchwork, if it is OK
for you?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

* [U-Boot] [PATCH] arm/km: fix u-boot update functionality
  2013-05-06 14:02 ` Heiko Schocher
@ 2013-05-07  3:52   ` Prafulla Wadaskar
  0 siblings, 0 replies; 3+ messages in thread
From: Prafulla Wadaskar @ 2013-05-07  3:52 UTC (permalink / raw)
  To: u-boot



> -----Original Message-----
> From: Heiko Schocher [mailto:hs at denx.de]
> Sent: 06 May 2013 19:32
> To: Holger Brunck
> Cc: u-boot at lists.denx.de; Prafulla Wadaskar
> Subject: Re: [PATCH] arm/km: fix u-boot update
> functionality
> 
> Hello Prafulla,
> 
> Am 06.05.2013 14:54, schrieb Holger Brunck:
> > Due to the new I2C framework we need to adapt the u-
> boot update
> > function. Due to the new framework all i2c leafs
> behind a mux are
> > present in the system and not only those who are
> defined and used. So it
> > is bus number 5 after the rework.
> >
> > Signed-off-by: Holger Brunck
> <holger.brunck@keymile.com>
> > cc: Heiko Schocher <hs@denx.de>
> > cc: Prafulla Wadaskar <prafulla@marvell.com>
> > ---
> > This patch is dependent to the already posted
> patchserie:
> > http://lists.denx.de/pipermail/u-boot/2013-
> May/153452.html
> >
> >  include/configs/km/km_arm.h | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> I added this patch to my ToDo List in Patchwork, if it
> is OK
> for you?

Dear Heiko
That should be okay, no issues, please go ahead.

Regards...
Prafulla . . .

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

end of thread, other threads:[~2013-05-07  3:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-06 12:54 [U-Boot] [PATCH] arm/km: fix u-boot update functionality Holger Brunck
2013-05-06 14:02 ` Heiko Schocher
2013-05-07  3:52   ` Prafulla Wadaskar

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