Blackfin arch: document why we have to touch the UART peripheral in our boot up code
authorMike Frysinger <michael.frysinger@analog.com>
Mon, 21 May 2007 10:09:27 +0000 (18:09 +0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 21 May 2007 16:50:22 +0000 (09:50 -0700)
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>
arch/blackfin/mach-bf533/head.S
arch/blackfin/mach-bf537/head.S
arch/blackfin/mach-bf561/head.S

index 1a54ff5f061d239f6b5389964ad2a3fe15e01ce6..4db9e62409064268f7e3f9fa0a96684ff852cd95 100644 (file)
@@ -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);
index aafc686749ed292087654a102e73626019f508d0..b4377dddc127fd5e346e483123cd4b77dbff9243 100644 (file)
@@ -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);
index 04f3ac33ab0efd5ec12c38fe3a73843decf9b6f6..9c8e6885f4e7f1dea40353cb7620fa4b59dd31d8 100644 (file)
@@ -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);