You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
455 B
24 lines
455 B
#include <asm/types.h>
|
|
#include <linux/serial_reg.h>
|
|
#include <asm/hardware.h>
|
|
#include <asm/processor.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)
|
|
cpu_relax();
|
|
UART_BASE[UART_TX] = c;
|
|
}
|
|
|
|
static inline void flush(void)
|
|
{
|
|
}
|
|
|
|
/*
|
|
* nothing to do
|
|
*/
|
|
#define arch_decomp_setup()
|
|
#define arch_decomp_wdog()
|
|
|