[U-Boot-Users] Suppressing starting/terminated messages by go

From: Edward Jubenville <hidden>
Date: 2007-05-11 18:08:53

For a standalone application, do_go() always prints starting/terminated
messages:
	## Starting application at 0x00040004 ...
and
	## Application terminated, rc = 0x0

Is there a philosophical reason why these messages shouldn't be suppressed
with a configuration parameter?

I have a standalone program that I run about a dozen times in a row, feeding
it different command line parameters, and its printouts are littered with
these starting/terminated messages.  I would like to get rid of them like
this:

  int do_go (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
  ...
  #if !defined(CFG_QUIET_GO)
    printf ("## Starting application at 0x%08lX ...\n", addr);
  #endif
  ...
  #if !defined(CFG_QUIET_GO)
    printf ("## Application terminated, rc = 0x%lX\n", rc);
  #endif

I'm using u-boot 1.1.4 on a Lite5200 clone board.

Ed Jubenville
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help