[U-Boot] [PATCH 25/31] powerpc: mgcoge, mgsuvd, kmeter1: board Id parameters

Heiko Schocher hs at denx.de
Wed Jan 28 10:40:38 CET 2009


This patch leads to correct use of the boardId
parameters for the boards mgcoge, mgsuvd, kmeter1
when downloading a new esw script via tftp

Signed-off-by: Thomas Herzmann <thomas.herzmann at keymile.com>
Signed-off-by: Heiko Schocher <hs at denx.de>
---
 include/configs/keymile-common.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/configs/keymile-common.h b/include/configs/keymile-common.h
index d8b343b..80f9446 100644
--- a/include/configs/keymile-common.h
+++ b/include/configs/keymile-common.h
@@ -243,8 +243,10 @@
 		"addip addcon addboardid addpram; "			\
 		"bootm ${actual_kernel_addr} - ${actual_fdt_addr} \'; "	\
 		"saveenv \0"						\
-	"new_esw_script=new_esw_0x${IVM_BoardId}_0x${IVM_HWKey}.scr \0"	\
-	"new_esw=tftp ${autoscr_ws} ${new_esw_script}; "		\
+	"set_new_esw_script=setenv new_esw_script "			\
+		"new_esw_0x${IVM_BoardId}_0x${IVM_HWKey}.scr \0"	\
+	"new_esw=run set_new_esw_script; "				\
+		"tftp ${autoscr_ws} ${new_esw_script}; "		\
 		"iminfo ${autoscr_ws}; autoscr ${autoscr_ws} \0"	\
 	"bootlimit=0 \0" 						\
 	CONFIG_KM_DEF_ENV_IOMUX						\
-- 
1.6.0.6

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


More information about the U-Boot mailing list