commit | e3705282c7be0bc88089d877ba904053eb7fa8f3 | [log] [tgz] |
---|---|---|
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | Sun Dec 18 16:41:10 2005 +0000 |
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | Sun Dec 18 16:41:10 2005 +0000 |
tree | a9bf154f3d56d27069c1e1aff5567ba3d139af86 | |
parent | 53e96253a4482072b2b39df1ebc2bd4c5d012581 [diff] [blame] |
Multiple unrelated changes * make -v switch print debug messages. * do case insensitive comparison of mainboards, as wished on the mailinglist Corresponding to flashrom svn r37 and coreboot v2 svn r2146.
diff --git a/debug.h b/debug.h index 7d540b5..0614747 100644 --- a/debug.h +++ b/debug.h
@@ -2,6 +2,9 @@ #define __DEBUG_H__ 1 //#define printf_debug(x...) printf(x) -#define printf_debug(x...) { } + +extern int verbose; + +#define printf_debug(x...) { if(verbose) printf(x); } #endif