summaryrefslogtreecommitdiffstats
path: root/common/console_simple.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-08-25 17:14:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-05 10:15:48 +0200
commit4960dc9db00fcf5058196dbcb94c2f139999bd2e (patch)
tree9d61a2eab6283efb10dc7fc57a8578d7189609ee /common/console_simple.c
parentabd545d2f9b91268ed90879d929b0e5e055d574d (diff)
downloadbarebox-4960dc9db00fcf5058196dbcb94c2f139999bd2e.tar.gz
barebox-4960dc9db00fcf5058196dbcb94c2f139999bd2e.tar.xz
rework debug_ll
Convert to static inline functions and use lower case letters for function names. Also, include mach/debug_ll.h when an architecture provides support for debug_ll, not only when it's actually enabled. This allows architecures to put some UART initialization code into mach/debug_ll.h which is compiled out when debug_ll is disabled. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console_simple.c')
-rw-r--r--common/console_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/console_simple.c b/common/console_simple.c
index 1fe569ef9d..101064b69a 100644
--- a/common/console_simple.c
+++ b/common/console_simple.c
@@ -28,7 +28,7 @@ EXPORT_SYMBOL(console_puts);
void console_putc(unsigned int ch, char c)
{
if (!console) {
- PUTC_LL(c);
+ putc_ll(c);
return;
}