Patchwork [U-Boot] mxs: Silence elftosb

login
register
mail settings
Submitter Marek Vasut
Date Nov. 30, 2012, 1:04 p.m.
Message ID <1354280664-17499-1-git-send-email-marex@denx.de>
Download mbox | patch
Permalink /patch/202943/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Marek Vasut - Nov. 30, 2012, 1:04 p.m.
The elftosb tool is now called with -d switch, which produces debug
output to the stdout. The debug output is completely useless for
regular operation, so silence it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Otavio Salvador - Nov. 30, 2012, 6:09 p.m.
On Fri, Nov 30, 2012 at 11:04 AM, Marek Vasut <marex@denx.de> wrote:

> The elftosb tool is now called with -d switch, which produces debug
> output to the stdout. The debug output is completely useless for
> regular operation, so silence it.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Stefano Babic - Dec. 4, 2012, 8:09 a.m.
On 30/11/2012 14:04, Marek Vasut wrote:
> The elftosb tool is now called with -d switch, which produces debug
> output to the stdout. The debug output is completely useless for
> regular operation, so silence it.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  Makefile |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 2bff7e7..e9504c6 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -498,7 +498,7 @@ $(obj)u-boot.ais:       $(obj)spl/u-boot-spl.bin $(obj)u-boot.img
>  ELFTOSB_TARGET-$(CONFIG_MX28) = imx28
>  
>  $(obj)u-boot.sb:       $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin
> -		elftosb -zdf $(ELFTOSB_TARGET-y) -c $(TOPDIR)/$(CPUDIR)/$(SOC)/u-boot-$(ELFTOSB_TARGET-y).bd \
> +		elftosb -zf $(ELFTOSB_TARGET-y) -c $(TOPDIR)/$(CPUDIR)/$(SOC)/u-boot-$(ELFTOSB_TARGET-y).bd \
>  			-o $(obj)u-boot.sb
>  
>  $(obj)u-boot.mx28.sd:  $(obj)u-boot.sb
> 

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Patch

diff --git a/Makefile b/Makefile
index 2bff7e7..e9504c6 100644
--- a/Makefile
+++ b/Makefile
@@ -498,7 +498,7 @@  $(obj)u-boot.ais:       $(obj)spl/u-boot-spl.bin $(obj)u-boot.img
 ELFTOSB_TARGET-$(CONFIG_MX28) = imx28
 
 $(obj)u-boot.sb:       $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin
-		elftosb -zdf $(ELFTOSB_TARGET-y) -c $(TOPDIR)/$(CPUDIR)/$(SOC)/u-boot-$(ELFTOSB_TARGET-y).bd \
+		elftosb -zf $(ELFTOSB_TARGET-y) -c $(TOPDIR)/$(CPUDIR)/$(SOC)/u-boot-$(ELFTOSB_TARGET-y).bd \
 			-o $(obj)u-boot.sb
 
 $(obj)u-boot.mx28.sd:  $(obj)u-boot.sb