public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 15/31] powerpc: keymile boards: conditional definition of a private env part
Date: Wed, 28 Jan 2009 10:39:49 +0100	[thread overview]
Message-ID: <498027E5.6090309@denx.de> (raw)

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

                 reply	other threads:[~2009-01-28  9:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=498027E5.6090309@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox