[U-Boot] [PATCH] env_flash: Disable debug print statements

Wolfgang Denk wd at denx.de
Sat Oct 23 22:10:28 CEST 2010


Dear Peter Tyser,

In message <1287725092-5141-1-git-send-email-ptyser at xes-inc.com> you wrote:
> With debug the follow is printed:
>   => saveenv
>   Saving Environment to Flash...
>   Data to save 0x18000
>   Data (start 0xfff48000, len 0x18000) saved at 0x7fe63f20
>   Protect off FFF40000 ... FFF5FFFF
>   Un-Protected 1 sectors
>   Erasing Flash...
>   . done
>   Erased 1 sectors
>   Writing to Flash... Restoring the rest of data to 0xfff48000 len 0x18000
>   done
>   Protected 1 sectors
>   =>
> 
> Without debug:
>   => saveenv
>   Saving Environment to Flash...
>   Un-Protected 1 sectors
>   Erasing Flash...
>   . done
>   Erased 1 sectors
>   Writing to Flash... done
>   Protected 1 sectors
>   => 
> 
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---
>  common/env_flash.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Carelessly planned projects take three times longer to complete  than
expected.  Carefully  planned  projects  take  four  times  longer to
complete than expected, mostly  because  the  planners  expect  their
planning to reduce the time it takes.


More information about the U-Boot mailing list