Skip to content
Snippets Groups Projects
Commit 3f7ffa44 authored by Peter Tyser's avatar Peter Tyser Committed by Wolfgang Denk
Browse files

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: default avatarPeter Tyser <ptyser@xes-inc.com>
parent 02cf8fd6
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment