diff options
author | wdenk <wdenk> | 2003-06-19 23:04:19 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-06-19 23:04:19 +0000 |
commit | 52f52c1494eedaeacccad6e2331f4f638b48f5ab (patch) | |
tree | ef44c22a2c583fe9b136ae6f38bbb42ef6a71df0 /include/common.h | |
parent | 48b42616e928ce6eacfe20276a1614e2b27ac4b5 (diff) | |
download | u-boot-imx-52f52c1494eedaeacccad6e2331f4f638b48f5ab.zip u-boot-imx-52f52c1494eedaeacccad6e2331f4f638b48f5ab.tar.gz u-boot-imx-52f52c1494eedaeacccad6e2331f4f638b48f5ab.tar.bz2 |
Patches by Robert Schwebel, 14 Jun 2003:
- add support for Logotronic DL datalogger board
- cleanup serial line after kermit binary download
- add debugX macro (debug level support)
- update mach-types.h to latest arm.linux.org.uk master list.
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index d312682..b0640c6 100644 --- a/include/common.h +++ b/include/common.h @@ -64,8 +64,10 @@ typedef volatile unsigned char vu_char; #ifdef DEBUG #define debug(fmt,args...) printf (fmt ,##args) +#define debugX(level,fmt,args...) if (DEBUG>=level) printf(fmt,##args); #else #define debug(fmt,args...) +#define debugX(level,fmt,args...) #endif /* DEBUG */ typedef void (interrupt_handler_t)(void *); |