diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-05-21 06:09:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-21 12:50:22 -0400 |
commit | 5079df993c3ab45af10dc9a45b3b9e712fd56f23 (patch) | |
tree | 9c978e20be84f4cc058d6a56cda5cdf497bc2be7 /arch/blackfin | |
parent | ef9256d2831df0896566c3823cd2bdf0e55df984 (diff) |
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>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-bf533/head.S | 3 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/head.S | 3 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/head.S | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/arch/blackfin/mach-bf533/head.S b/arch/blackfin/mach-bf533/head.S index 1a54ff5f061d..4db9e6240906 100644 --- a/arch/blackfin/mach-bf533/head.S +++ b/arch/blackfin/mach-bf533/head.S | |||
@@ -173,7 +173,8 @@ ENTRY(__stext) | |||
173 | STI R2; | 173 | STI R2; |
174 | #endif | 174 | #endif |
175 | 175 | ||
176 | /* Initialise UART */ | 176 | /* Initialise UART - when booting from u-boot, the UART is not disabled |
177 | * so if we dont initalize here, our serial console gets hosed */ | ||
177 | p0.h = hi(UART_LCR); | 178 | p0.h = hi(UART_LCR); |
178 | p0.l = lo(UART_LCR); | 179 | p0.l = lo(UART_LCR); |
179 | r0 = 0x0(Z); | 180 | r0 = 0x0(Z); |
diff --git a/arch/blackfin/mach-bf537/head.S b/arch/blackfin/mach-bf537/head.S index aafc686749ed..b4377dddc127 100644 --- a/arch/blackfin/mach-bf537/head.S +++ b/arch/blackfin/mach-bf537/head.S | |||
@@ -181,7 +181,8 @@ ENTRY(__stext) | |||
181 | SSYNC; | 181 | SSYNC; |
182 | #endif | 182 | #endif |
183 | 183 | ||
184 | /*Initialise UART*/ | 184 | /* Initialise UART - when booting from u-boot, the UART is not disabled |
185 | * so if we dont initalize here, our serial console gets hosed */ | ||
185 | p0.h = hi(UART_LCR); | 186 | p0.h = hi(UART_LCR); |
186 | p0.l = lo(UART_LCR); | 187 | p0.l = lo(UART_LCR); |
187 | r0 = 0x0(Z); | 188 | r0 = 0x0(Z); |
diff --git a/arch/blackfin/mach-bf561/head.S b/arch/blackfin/mach-bf561/head.S index 04f3ac33ab0e..9c8e6885f4e7 100644 --- a/arch/blackfin/mach-bf561/head.S +++ b/arch/blackfin/mach-bf561/head.S | |||
@@ -127,7 +127,8 @@ ENTRY(__stext) | |||
127 | STI R2; | 127 | STI R2; |
128 | #endif | 128 | #endif |
129 | 129 | ||
130 | /* Initialise UART*/ | 130 | /* Initialise UART - when booting from u-boot, the UART is not disabled |
131 | * so if we dont initalize here, our serial console gets hosed */ | ||
131 | p0.h = hi(UART_LCR); | 132 | p0.h = hi(UART_LCR); |
132 | p0.l = lo(UART_LCR); | 133 | p0.l = lo(UART_LCR); |
133 | r0 = 0x0(Z); | 134 | r0 = 0x0(Z); |