Blackfin arch: document why we have to touch the UART peripheral in our boot up code
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
ef9256d283
Коммит
5079df993c
|
@ -173,7 +173,8 @@ ENTRY(__stext)
|
||||||
STI R2;
|
STI R2;
|
||||||
#endif
|
#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.h = hi(UART_LCR);
|
||||||
p0.l = lo(UART_LCR);
|
p0.l = lo(UART_LCR);
|
||||||
r0 = 0x0(Z);
|
r0 = 0x0(Z);
|
||||||
|
|
|
@ -181,7 +181,8 @@ ENTRY(__stext)
|
||||||
SSYNC;
|
SSYNC;
|
||||||
#endif
|
#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.h = hi(UART_LCR);
|
||||||
p0.l = lo(UART_LCR);
|
p0.l = lo(UART_LCR);
|
||||||
r0 = 0x0(Z);
|
r0 = 0x0(Z);
|
||||||
|
|
|
@ -127,7 +127,8 @@ ENTRY(__stext)
|
||||||
STI R2;
|
STI R2;
|
||||||
#endif
|
#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.h = hi(UART_LCR);
|
||||||
p0.l = lo(UART_LCR);
|
p0.l = lo(UART_LCR);
|
||||||
r0 = 0x0(Z);
|
r0 = 0x0(Z);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче