mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
rk29: uncompress implement putc
This commit is contained in:
@@ -15,10 +15,13 @@
|
||||
|
||||
#ifndef __ASM_ARCH_RK29_UNCOMPRESS_H
|
||||
|
||||
#include "hardware.h"
|
||||
#include <mach/rk29_iomap.h>
|
||||
|
||||
static void putc(int c)
|
||||
{
|
||||
while (!(*(volatile u32 *) (RK29_UART1_PHYS + 0x14) & (1 << 5)))
|
||||
barrier();
|
||||
*(volatile u32 *) (RK29_UART1_PHYS) = c;
|
||||
}
|
||||
|
||||
static inline void flush(void)
|
||||
|
||||
Reference in New Issue
Block a user