]> git.ipfire.org Git - people/ms/u-boot.git/commit
env_flash: Disable debug print statements
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 22 Oct 2010 05:24:52 +0000 (00:24 -0500)
committerWolfgang Denk <wd@denx.de>
Sat, 23 Oct 2010 20:10:14 +0000 (22:10 +0200)
commit3f7ffa440a60d5b37d1eabbee1b4c2af60eb104b
tree99cef99ebbe8f69d383ebf1e83a5ac84a03815e9
parent02cf8fd6fbef7ac015a234b09e7b55765aefcd4f
env_flash: Disable debug print statements

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@xes-inc.com>
common/env_flash.c