Patchwork [U-Boot,2/4] km/common: drop unneeded std* environment variables

login
register
mail settings
Submitter Holger Brunck
Date Nov. 2, 2012, 10:15 a.m.
Message ID <1351851310-8463-2-git-send-email-holger.brunck@keymile.com>
Download mbox | patch
Permalink /patch/196529/
State Accepted
Delegated to: Prafulla Wadaskar
Headers show

Comments

Holger Brunck - Nov. 2, 2012, 10:15 a.m.
These variables are only used if CONFIG_SYS_CONSOLE_IS_IN_ENV
is set. This isn't the case, so we can drop them safely.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
---
 include/configs/km/keymile-common.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
Prafulla Wadaskar - Dec. 20, 2012, 6:39 a.m.
> -----Original Message-----
> From: Holger Brunck [mailto:holger.brunck@keymile.com]
> Sent: 02 November 2012 15:45
> To: u-boot@lists.denx.de
> Cc: Holger Brunck; Valentin Longchamp; Prafulla Wadaskar
> Subject: [PATCH 2/4] km/common: drop unneeded std* environment
> variables
> 
> These variables are only used if CONFIG_SYS_CONSOLE_IS_IN_ENV
> is set. This isn't the case, so we can drop them safely.
> 
> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> cc: Valentin Longchamp <valentin.longchamp@keymile.com>
> cc: Prafulla Wadaskar <prafulla@marvell.com>
> ---
>  include/configs/km/keymile-common.h |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/include/configs/km/keymile-common.h
> b/include/configs/km/keymile-common.h
> index 05480d4..f64748e 100644
> --- a/include/configs/km/keymile-common.h
> +++ b/include/configs/km/keymile-common.h
> @@ -253,9 +253,6 @@
>  	"load=tftpboot ${load_addr_r} ${u-boot}\0"			\
>  	"mtdids=" MTDIDS_DEFAULT "\0"					\
>  	"mtdparts=" MTDPARTS_DEFAULT "\0"				\
> -	"stderr=serial\0"						\
> -	"stdin=serial\0"						\
> -	"stdout=serial\0"						\
>  	""
>  #endif /* CONFIG_KM_DEF_ENV */
> 
> --
> 1.7.1

Applied to u-boot-marvell.git master branch

Regards...
Prafulla . . .

Patch

diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index 05480d4..f64748e 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -253,9 +253,6 @@ 
 	"load=tftpboot ${load_addr_r} ${u-boot}\0"			\
 	"mtdids=" MTDIDS_DEFAULT "\0"					\
 	"mtdparts=" MTDPARTS_DEFAULT "\0"				\
-	"stderr=serial\0"						\
-	"stdin=serial\0"						\
-	"stdout=serial\0"						\
 	""
 #endif /* CONFIG_KM_DEF_ENV */