diff options
Diffstat (limited to 'arch/arm/mach-mxs/include/mach/debug_ll.h')
-rw-r--r-- | arch/arm/mach-mxs/include/mach/debug_ll.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/arm/mach-mxs/include/mach/debug_ll.h b/arch/arm/mach-mxs/include/mach/debug_ll.h deleted file mode 100644 index 9e3ce1c1cd..0000000000 --- a/arch/arm/mach-mxs/include/mach/debug_ll.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef __MACH_DEBUG_LL_H__ -#define __MACH_DEBUG_LL_H__ - -#include <io.h> -#include <mach/imx-regs.h> - -#define UARTDBGDR 0x00 -#define UARTDBGFR 0x18 -# define TXFE (1 << 7) -# define TXFF (1 << 5) - -static inline void PUTC_LL(int c) -{ - void __iomem *base = (void *)IMX_DBGUART_BASE; - - /* Wait for room in TX FIFO */ - while (!(readl(base + UARTDBGFR) & TXFE)); - - writel(c, base + UARTDBGDR); -} - -#endif /* __MACH_DEBUG_LL_H__ */ |