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:
5f43f57
)
rk3188: common.c: remove unused uart init code on usb_uart_init
author
黄涛
<huangtao@rock-chips.com>
Mon, 28 Jan 2013 06:42:28 +0000
(14:42 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 28 Jan 2013 06:42:28 +0000
(14:42 +0800)
arch/arm/mach-rk30/common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/common.c
b/arch/arm/mach-rk30/common.c
index 1e090a2ef374cb143676f177881ab7bab2db1640..3f7100ace5f381455cf87bea96d12711aa0d2093 100755
(executable)
--- a/
arch/arm/mach-rk30/common.c
+++ b/
arch/arm/mach-rk30/common.c
@@
-160,13
+160,6
@@
static void usb_uart_init(void)
#else
writel_relaxed((0x0300 << 16), RK30_GRF_BASE + GRF_UOC0_CON0);
#endif
- writel_relaxed(0x07, DEBUG_UART_BASE + 0x88);
- writel_relaxed(0x07, DEBUG_UART_BASE + 0x88);
- writel_relaxed(0x00, DEBUG_UART_BASE + 0x04);
- writel_relaxed(0x83, DEBUG_UART_BASE + 0x0c);
- writel_relaxed(0x0d, DEBUG_UART_BASE + 0x00);
- writel_relaxed(0x00, DEBUG_UART_BASE + 0x04);
- writel_relaxed(0x03, DEBUG_UART_BASE + 0x0c);
#endif
}