summaryrefslogtreecommitdiffstats
path: root/arch/mips/mach-bcm47xx
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-11-23 09:48:32 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-12-05 19:48:50 +0100
commit9fe8679d3bfdbe9dc0dcf3f329885dfd1650473f (patch)
tree8c5b4a049182df504945e119f229afce67b9b5a7 /arch/mips/mach-bcm47xx
parent0a6da026219c496eac1200839214fbcf8806c849 (diff)
downloadbarebox-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/mach-bcm47xx')
-rw-r--r--arch/mips/mach-bcm47xx/include/mach/debug_ll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mach-bcm47xx/include/mach/debug_ll.h b/arch/mips/mach-bcm47xx/include/mach/debug_ll.h
index 4bf1817eae..0703bb0f23 100644
--- a/arch/mips/mach-bcm47xx/include/mach/debug_ll.h
+++ b/arch/mips/mach-bcm47xx/include/mach/debug_ll.h
@@ -28,7 +28,7 @@
#define lsr 5
#define LSR_THRE 0x20 /* Xmit holding register empty */
-static __inline__ void putc(char ch)
+static __inline__ void PUTC_LL(char ch)
{
while (!(__raw_readb(DEBUG_LL_UART_ADDR + lsr) & LSR_THRE));
__raw_writeb(ch, DEBUG_LL_UART_ADDR + rbr);