2 * arch/arm/mach-mmp/include/mach/uncompress.h
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include <linux/serial_reg.h>
10 #include <mach/addr-map.h>
12 #define UART1_BASE (APB_PHYS_BASE + 0x36000)
13 #define UART2_BASE (APB_PHYS_BASE + 0x17000)
14 #define UART3_BASE (APB_PHYS_BASE + 0x18000)
16 static inline void putc(char c
)
18 volatile unsigned long *UART
= (unsigned long *)UART2_BASE
;
21 if (!(UART
[UART_IER
] & UART_IER_UUE
))
24 while (!(UART
[UART_LSR
] & UART_LSR_THRE
))
31 * This does not append a newline
33 static inline void flush(void)
40 #define arch_decomp_setup()
41 #define arch_decomp_wdog()