diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:29 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:29 +0200 |
commit | 0c48f25ade447a9f57ae8b053f5d6d1a198f221d (patch) | |
tree | 5fafb54a4ceb8faa07639ad6c942cd1df9cf7349 /include/debug_ll.h | |
parent | 957a710f42fa817fc69a9ced6ec632f1cf8163db (diff) | |
download | barebox-0c48f25ade447a9f57ae8b053f5d6d1a198f221d.tar.gz barebox-0c48f25ade447a9f57ae8b053f5d6d1a198f221d.tar.xz |
svn_rev_173
WIP
Diffstat (limited to 'include/debug_ll.h')
-rw-r--r-- | include/debug_ll.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/debug_ll.h b/include/debug_ll.h index 9985c1d20f..f3772aa1fe 100644 --- a/include/debug_ll.h +++ b/include/debug_ll.h @@ -25,8 +25,10 @@ #ifndef __INCLUDE_DEBUG_LL_H__ #define __INCLUDE_DEBUG_LL_H__ -#if defined (CONFIG_DEBUG_LL) -# include <asm/arch/debug_ll.h> +#define PUTC(x) serial_putc(x) + +//#if defined (CONFIG_DEBUG_LL) +//# include <asm/arch/debug_ll.h> # define PUTHEX_LL(value) ({ unsigned long v = (unsigned long) (value); \ int i; unsigned char ch; \ @@ -34,10 +36,10 @@ ch = ((v >> (i*4)) & 0xf);\ ch += (ch >= 10) ? 'a' - 10 : '0';\ PUTC (ch); }}) -#else -# define PUTC_LL(c) do {} while (0) -# define PUTHEX_LL(v) do {} while (0) +//#else +//# define PUTC_LL(c) do {} while (0) +//# define PUTHEX_LL(v) do {} while (0) -#endif +//#endif #endif /* __INCLUDE_DEBUG_LL_H__ */ |