diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-23 09:48:32 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-05 19:48:50 +0100 |
commit | 9fe8679d3bfdbe9dc0dcf3f329885dfd1650473f (patch) | |
tree | 8c5b4a049182df504945e119f229afce67b9b5a7 /arch/mips/include | |
parent | 0a6da026219c496eac1200839214fbcf8806c849 (diff) | |
download | barebox-9fe8679d3bfdbe9dc0dcf3f329885dfd1650473f.tar.gz barebox-9fe8679d3bfdbe9dc0dcf3f329885dfd1650473f.tar.xz |
debug_ll: Let architectures define PUTC_LL directly
putc already is a regular barebox function. To avoid conflicts and
confusions just let architectures define PUTC_LL directly instead
of going through this addiotional redirection.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/debug_ll_ns16550.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/debug_ll_ns16550.h b/arch/mips/include/debug_ll_ns16550.h index a8b74d29d8..e9c7ecf98e 100644 --- a/arch/mips/include/debug_ll_ns16550.h +++ b/arch/mips/include/debug_ll_ns16550.h @@ -28,7 +28,7 @@ #define LSR_THRE 0x20 /* Xmit holding register empty */ -static __inline__ void putc(char ch) +static __inline__ void PUTC_LL(char ch) { while (!(__raw_readb((u8 *)DEBUG_LL_UART_ADDR + lsr) & LSR_THRE)); __raw_writeb(ch, (u8 *)DEBUG_LL_UART_ADDR + rbr); |