rk3026: usb-debug : reset uart controller when usb_uart_init

This commit is contained in:
lyz
2013-09-26 21:39:04 +08:00
parent 5a30b69774
commit 6b16e6c67d

7
arch/arm/mach-rk3026/common.c Normal file → Executable file
View File

@@ -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
}