提交 5079df99 编写于 作者: M Mike Frysinger 提交者: Linus Torvalds

Blackfin arch: document why we have to touch the UART peripheral in our boot up code

Signed-off-by: NMike Frysinger <michael.frysinger@analog.com>
Signed-off-by: NBryan Wu <bryan.wu@analog.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 ef9256d2
......@@ -173,7 +173,8 @@ ENTRY(__stext)
STI R2;
#endif
/* Initialise UART */
/* Initialise UART - when booting from u-boot, the UART is not disabled
* so if we dont initalize here, our serial console gets hosed */
p0.h = hi(UART_LCR);
p0.l = lo(UART_LCR);
r0 = 0x0(Z);
......
......@@ -181,7 +181,8 @@ ENTRY(__stext)
SSYNC;
#endif
/*Initialise UART*/
/* Initialise UART - when booting from u-boot, the UART is not disabled
* so if we dont initalize here, our serial console gets hosed */
p0.h = hi(UART_LCR);
p0.l = lo(UART_LCR);
r0 = 0x0(Z);
......
......@@ -127,7 +127,8 @@ ENTRY(__stext)
STI R2;
#endif
/* Initialise UART*/
/* Initialise UART - when booting from u-boot, the UART is not disabled
* so if we dont initalize here, our serial console gets hosed */
p0.h = hi(UART_LCR);
p0.l = lo(UART_LCR);
r0 = 0x0(Z);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册