projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36bc66
)
rk29: uncompress implement putc
author
黄涛
<huangtao@rock-chips.com>
Mon, 14 Mar 2011 13:07:24 +0000
(21:07 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 14 Mar 2011 13:12:27 +0000
(21:12 +0800)
arch/arm/mach-rk29/include/mach/uncompress.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/include/mach/uncompress.h
b/arch/arm/mach-rk29/include/mach/uncompress.h
index 8f09385be359604a1c27d3e4a5f27348f4672658..250c4e7caab2d2ee7e4deed2fda2739033ccaa84 100644
(file)
--- a/
arch/arm/mach-rk29/include/mach/uncompress.h
+++ b/
arch/arm/mach-rk29/include/mach/uncompress.h
@@
-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)