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.
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 @@
 
 #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 *);