summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-06 09:06:10 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-06 10:17:38 +0100
commit1b9f6ee3041e56d104b70044e9274c1b39830792 (patch)
tree12d64f7f12b06473f0ce5fd3b5ee80a46a006e6c /arch/arm/include
parentc809f0bc436dcae05230a082597c046a307dc3bb (diff)
downloadbarebox-1b9f6ee3041e56d104b70044e9274c1b39830792.tar.gz
barebox-1b9f6ee3041e56d104b70044e9274c1b39830792.tar.xz
debug_ll: Move pl011 header file to architecture independent place
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/debug_ll_pl011.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/arm/include/asm/debug_ll_pl011.h b/arch/arm/include/asm/debug_ll_pl011.h
deleted file mode 100644
index db015a373b..0000000000
--- a/arch/arm/include/asm/debug_ll_pl011.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef __INCLUDE_ARM_ASM_DEBUG_LL_PL011_H__
-#define __INCLUDE_ARM_ASM_DEBUG_LL_PL011_H__
-
-#ifndef DEBUG_LL_UART_ADDR
-#error DEBUG_LL_UART_ADDR is undefined!
-#endif
-
-#include <io.h>
-#include <linux/amba/serial.h>
-
-static inline void PUTC_LL(char c)
-{
- /* Wait until there is space in the FIFO */
- while (readl(DEBUG_LL_UART_ADDR + UART01x_FR) & UART01x_FR_TXFF)
- ;
-
- /* Send the character */
- writel(c, DEBUG_LL_UART_ADDR + UART01x_DR);
-
- /* Wait to make sure it hits the line, in case we die too soon. */
- while (readl(DEBUG_LL_UART_ADDR + UART01x_FR) & UART01x_FR_TXFF)
- ;
-}
-
-#endif /* __INCLUDE_ARM_ASM_DEBUG_LL_PL011_H__ */