mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 02:34:23 +08:00
a09e64fbc0
This just leaves include/asm-arm/plat-* to deal with. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
24 lines
427 B
C
24 lines
427 B
C
#include <asm/types.h>
|
|
#include <linux/serial_reg.h>
|
|
#include <mach/hardware.h>
|
|
|
|
#define UART_BASE ((volatile u32 *)IOP13XX_UART1_PHYS)
|
|
#define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
|
|
|
|
static inline void putc(char c)
|
|
{
|
|
while ((UART_BASE[UART_LSR] & TX_DONE) != TX_DONE)
|
|
barrier();
|
|
UART_BASE[UART_TX] = c;
|
|
}
|
|
|
|
static inline void flush(void)
|
|
{
|
|
}
|
|
|
|
/*
|
|
* nothing to do
|
|
*/
|
|
#define arch_decomp_setup()
|
|
#define arch_decomp_wdog()
|