diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2010-10-22 00:24:52 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-23 22:10:14 +0200 |
commit | 3f7ffa440a60d5b37d1eabbee1b4c2af60eb104b (patch) | |
tree | 99cef99ebbe8f69d383ebf1e83a5ac84a03815e9 /common/env_flash.c | |
parent | 02cf8fd6fbef7ac015a234b09e7b55765aefcd4f (diff) | |
download | u-boot-imx-3f7ffa440a60d5b37d1eabbee1b4c2af60eb104b.zip u-boot-imx-3f7ffa440a60d5b37d1eabbee1b4c2af60eb104b.tar.gz u-boot-imx-3f7ffa440a60d5b37d1eabbee1b4c2af60eb104b.tar.bz2 |
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>
Diffstat (limited to 'common/env_flash.c')
-rw-r--r-- | common/env_flash.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/common/env_flash.c b/common/env_flash.c index 1da78b7..54c0bfe 100644 --- a/common/env_flash.c +++ b/common/env_flash.c @@ -82,9 +82,6 @@ uchar env_get_char_spec(int index) return (*((uchar *)(gd->env_addr + index))); } -#undef debug -#define debug printf - #ifdef CONFIG_ENV_ADDR_REDUND int env_init(void) |