how to make debug() print information
Hi everyone~
I am a beginner for u-boot~
I am using 1.3.4 version
now I want to "debug()" print out information.
I see in /tools/Mkimage.h have:
"
#define MKIMAGE_DEBUG
#ifdef MKIMAGE_DEBUG
#define debug(fmt,args...) printf (fmt ,##args)
#else
#define debug(fmt,args...)
#endif /* MKIMAGE_DEBUG */
"
how can I do?
thanks~
2009-08-07
fluke56512
Quoted 3 lines · On Friday 07 August 2009 05:59:11 fluke56512 wrote:
Hi everyone~
I am a beginner for u-boot~
I am using 1.3.4 version
time to upgrade
Quoted 1 line
now I want to "
debug()" print out information.
so use it and add "#define DEBUG" to the top of the file before any #include
Quoted 1 line
I see in /tools/Mkimage.h have:
dont look at that
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090813/60b37ca7/attachment.pgp