Skip to content

Commit

Permalink
Blackfin arch: document why we have to touch the UART peripheral in o…
Browse files Browse the repository at this point in the history
…ur 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>
  • Loading branch information
Mike Frysinger authored and Linus Torvalds committed May 21, 2007
1 parent ef9256d commit 5079df9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion arch/blackfin/mach-bf533/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion arch/blackfin/mach-bf537/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion arch/blackfin/mach-bf561/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5079df9

Please sign in to comment.