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:
a5151df
)
ARM: rockchip: rk_fiq_debugger use 32-bit read/write, workaround for rk3288
author
黄涛
<huangtao@rock-chips.com>
Tue, 21 Jan 2014 06:26:09 +0000
(14:26 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Tue, 21 Jan 2014 06:26:09 +0000
(14:26 +0800)
arch/arm/mach-rockchip/rk_fiq_debugger.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/rk_fiq_debugger.c
b/arch/arm/mach-rockchip/rk_fiq_debugger.c
index 71b29056eaa20f4d65cf60cd3dd7355ebef5ea7f..0d35df02c540b52c89b9f82801afb9623e0999e4 100644
(file)
--- a/
arch/arm/mach-rockchip/rk_fiq_debugger.c
+++ b/
arch/arm/mach-rockchip/rk_fiq_debugger.c
@@
-48,13
+48,13
@@
struct rk_fiq_debugger {
static inline void rk_fiq_write(struct rk_fiq_debugger *t,
unsigned int val, unsigned int off)
{
- __raw_write
b
(val, t->debug_port_base + off * 4);
+ __raw_write
l
(val, t->debug_port_base + off * 4);
}
static inline unsigned int rk_fiq_read(struct rk_fiq_debugger *t,
unsigned int off)
{
- return __raw_read
b
(t->debug_port_base + off * 4);
+ return __raw_read
l
(t->debug_port_base + off * 4);
}
static inline unsigned int rk_fiq_read_lsr(struct rk_fiq_debugger *t)