public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 15/31] powerpc: keymile boards: conditional definition of a private env part
@ 2009-01-28  9:39 Heiko Schocher
  0 siblings, 0 replies; only message in thread
From: Heiko Schocher @ 2009-01-28  9:39 UTC (permalink / raw)
  To: u-boot

by defining CONFIG_KM_DEF_ENV_PRIVATE somewhere
the content of CONFIG_KM_DEF_ENV_PRIVATE will be
included into the default environment

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

diff --git a/include/configs/keymile-common.h b/include/configs/keymile-common.h
index 417f6b0..6abe27a 100644
--- a/include/configs/keymile-common.h
+++ b/include/configs/keymile-common.h
@@ -155,6 +155,11 @@
 	"stdout=serial \0"
 #endif

+#ifndef CONFIG_KM_DEF_ENV_PRIVATE
+#define	CONFIG_KM_DEF_ENV_PRIVATE \
+	"kmprivate=empty\0"
+#endif
+
 #define xstr(s)	str(s)
 #define str(s)	#s

@@ -196,7 +201,7 @@
 		"hwKey=${IVM_HWKey} boardId=0x${IVM_BoardId} \0" 	\
 	"net_nfs=tftp ${kernel_addr_r} ${kernel_file}; "		\
 		"tftp ${fdt_addr_r} ${fdt_file}; "			\
-		"run nfsargs addip addcon;"				\
+		"run nfsargs addip addcon addboardid;"			\
 		"bootm ${kernel_addr_r} - ${fdt_addr_r}\0"		\
 	"net_self=tftp ${kernel_addr_r} ${kernel_file}; "		\
 		"tftp ${fdt_addr_r} ${fdt_file}; "			\
@@ -244,6 +249,7 @@
 		"iminfo ${autoscr_ws}; autoscr ${autoscr_ws} \0"	\
 	"bootlimit=0 \0" 						\
 	CONFIG_KM_DEF_ENV_IOMUX						\
+	CONFIG_KM_DEF_ENV_PRIVATE					\
 	""
 #endif /* CONFIG_KM_DEF_ENV */

-- 
1.6.0.6

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-28  9:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28  9:39 [U-Boot] [PATCH 15/31] powerpc: keymile boards: conditional definition of a private env part Heiko Schocher

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