[U-Boot] how to make debug() print information

7 Aug
2009
7 Aug
'09
11:59 a.m.
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

13 Aug
13 Aug
7:12 a.m.
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
now I want to "debug()" print out information.
so use it and add "#define DEBUG" to the top of the file before any #include
I see in /tools/Mkimage.h have:
dont look at that -mike
5749
Age (days ago)
5755
Last active (days ago)
1 comments
2 participants
participants (2)
-
fluke56512
-
Mike Frysinger