Go to the documentation of this file.
16 #ifndef __ASM_ARCH_MSM_UNCOMPRESS_H
17 #define __ASM_ARCH_MSM_UNCOMPRESS_H
19 #include <asm/barrier.h>
20 #include <asm/processor.h>
23 #define UART_CSR (*(volatile uint32_t *)(MSM_DEBUG_UART_PHYS + 0x08))
24 #define UART_TF (*(volatile uint32_t *)(MSM_DEBUG_UART_PHYS + 0x0c))
26 #define UART_DM_SR (*((volatile uint32_t *)(MSM_DEBUG_UART_PHYS + 0x08)))
27 #define UART_DM_CR (*((volatile uint32_t *)(MSM_DEBUG_UART_PHYS + 0x10)))
28 #define UART_DM_ISR (*((volatile uint32_t *)(MSM_DEBUG_UART_PHYS + 0x14)))
29 #define UART_DM_NCHAR (*((volatile uint32_t *)(MSM_DEBUG_UART_PHYS + 0x40)))
30 #define UART_DM_TF (*((volatile uint32_t *)(MSM_DEBUG_UART_PHYS + 0x70)))
32 static void putc(
int c)
34 #if defined(MSM_DEBUG_UART_PHYS)
35 #ifdef CONFIG_MSM_HAS_DEBUG_UART_HS
55 static inline void flush(
void)