aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf561/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf561/head.S')
-rw-r--r--arch/blackfin/mach-bf561/head.S34
1 files changed, 8 insertions, 26 deletions
diff --git a/arch/blackfin/mach-bf561/head.S b/arch/blackfin/mach-bf561/head.S
index 96a3d456fb6d..5b8bd40851dd 100644
--- a/arch/blackfin/mach-bf561/head.S
+++ b/arch/blackfin/mach-bf561/head.S
@@ -37,9 +37,6 @@
37#include <asm/mach/mem_init.h> 37#include <asm/mach/mem_init.h>
38#endif 38#endif
39 39
40.global __rambase
41.global __ramstart
42.global __ramend
43.extern ___bss_stop 40.extern ___bss_stop
44.extern ___bss_start 41.extern ___bss_start
45.extern _bf53x_relocate_l1_mem 42.extern _bf53x_relocate_l1_mem
@@ -139,26 +136,26 @@ ENTRY(__start)
139 136
140 /* Initialise UART - when booting from u-boot, the UART is not disabled 137 /* Initialise UART - when booting from u-boot, the UART is not disabled
141 * so if we dont initalize here, our serial console gets hosed */ 138 * so if we dont initalize here, our serial console gets hosed */
142 p0.h = hi(UART_LCR); 139 p0.h = hi(BFIN_UART_LCR);
143 p0.l = lo(UART_LCR); 140 p0.l = lo(BFIN_UART_LCR);
144 r0 = 0x0(Z); 141 r0 = 0x0(Z);
145 w[p0] = r0.L; /* To enable DLL writes */ 142 w[p0] = r0.L; /* To enable DLL writes */
146 ssync; 143 ssync;
147 144
148 p0.h = hi(UART_DLL); 145 p0.h = hi(BFIN_UART_DLL);
149 p0.l = lo(UART_DLL); 146 p0.l = lo(BFIN_UART_DLL);
150 r0 = 0x0(Z); 147 r0 = 0x0(Z);
151 w[p0] = r0.L; 148 w[p0] = r0.L;
152 ssync; 149 ssync;
153 150
154 p0.h = hi(UART_DLH); 151 p0.h = hi(BFIN_UART_DLH);
155 p0.l = lo(UART_DLH); 152 p0.l = lo(BFIN_UART_DLH);
156 r0 = 0x00(Z); 153 r0 = 0x00(Z);
157 w[p0] = r0.L; 154 w[p0] = r0.L;
158 ssync; 155 ssync;
159 156
160 p0.h = hi(UART_GCTL); 157 p0.h = hi(BFIN_UART_GCTL);
161 p0.l = lo(UART_GCTL); 158 p0.l = lo(BFIN_UART_GCTL);
162 r0 = 0x0(Z); 159 r0 = 0x0(Z);
163 w[p0] = r0.L; /* To enable UART clock */ 160 w[p0] = r0.L; /* To enable UART clock */
164 ssync; 161 ssync;
@@ -411,18 +408,3 @@ ENTRY(_start_dma_code)
411 RTS; 408 RTS;
412ENDPROC(_start_dma_code) 409ENDPROC(_start_dma_code)
413#endif /* CONFIG_BFIN_KERNEL_CLOCK */ 410#endif /* CONFIG_BFIN_KERNEL_CLOCK */
414
415.data
416
417/*
418 * Set up the usable of RAM stuff. Size of RAM is determined then
419 * an initial stack set up at the end.
420 */
421
422.align 4
423__rambase:
424.long 0
425__ramstart:
426.long 0
427__ramend:
428.long 0