Skip to contentSkip to conversation

powerpc: keymile boards: conditional definition of a private env part

PATCH New Heiko Schocher 1 participant 1 message Jan 28, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 15/31 powerpc: keymile boards: conditional definition of a private env part

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

---
 include/configs/keymile-common.h |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
include/configs/keymile-common.h +7 -1
index 417f6b0..6abe27a 100644
@@ -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 */
 
Signature · 5 lines
1.6.0.6

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