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:
5a30b69
)
rk3026: usb-debug : reset uart controller when usb_uart_init
author
lyz
<lyz@rock-chips.com>
Thu, 26 Sep 2013 13:39:04 +0000
(21:39 +0800)
committer
lyz
<lyz@rock-chips.com>
Thu, 26 Sep 2013 13:42:02 +0000
(21:42 +0800)
arch/arm/mach-rk3026/common.c
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk3026/common.c
b/arch/arm/mach-rk3026/common.c
old mode 100644
(file)
new mode 100755
(executable)
index
fcd7b54
..
1e40af2
--- a/
arch/arm/mach-rk3026/common.c
+++ b/
arch/arm/mach-rk3026/common.c
@@
-149,6
+149,13
@@
static void usb_uart_init(void)
}
#endif // end of CONFIG_RK_USB_UART
+ 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 //end of DEBUG_UART_BASE
}