From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 28 Jan 2009 10:39:49 +0100 Subject: [U-Boot] [PATCH 15/31] powerpc: keymile boards: conditional definition of a private env part Message-ID: <498027E5.6090309@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Signed-off-by: Heiko Schocher --- 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