[U-Boot] u-boot newbie - question about the 'debug( )' function ...
Jonathan Barrow
jj.barrow at gmail.com
Wed Jan 14 21:45:27 CET 2009
In many of the sources, such as "board.c", I notice calls to
'debug()'. The syntax looks similar to printf(), e.g.: debug
("Stack Pointer at: %08lx\n", addr_sp);
Is this output sent to the BDM, such as bdi2000? or Ethernet? posted
to memory?
Also, is debug() related to the setting in 'config.mk' :
DBGFLAGS= -g # DDEBUG
I can't seem to locate where it lives, so uncertain how it works.
Thank You,
J.J. Barrow
More information about the U-Boot
mailing list