aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf548
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-07-24 22:11:42 -0400
committerBryan Wu <bryan.wu@analog.com>2007-07-24 22:11:42 -0400
commite208f83a7aa4ebf6c0a68e814903e8aa33f9439a (patch)
treea45d34fa199c8e5d75878d8a2f15e944eadce852 /arch/blackfin/mach-bf548
parent36a1548f99e54520f049a703e1b91bae95e72481 (diff)
Blackfin arch: use HI/LO macros rather than masking the bit ranges ourselves
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r--arch/blackfin/mach-bf548/head.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/blackfin/mach-bf548/head.S b/arch/blackfin/mach-bf548/head.S
index e5e56df3bf46..47cd91777a3b 100644
--- a/arch/blackfin/mach-bf548/head.S
+++ b/arch/blackfin/mach-bf548/head.S
@@ -97,8 +97,8 @@ ENTRY(__stext)
97 R0 = R1; 97 R0 = R1;
98 98
99 /* Turn off the icache */ 99 /* Turn off the icache */
100 p0.l = (IMEM_CONTROL & 0xFFFF); 100 p0.l = LO(IMEM_CONTROL);
101 p0.h = (IMEM_CONTROL >> 16); 101 p0.h = HI(IMEM_CONTROL);
102 R1 = [p0]; 102 R1 = [p0];
103 R0 = ~ENICPLB; 103 R0 = ~ENICPLB;
104 R0 = R0 & R1; 104 R0 = R0 & R1;
@@ -106,8 +106,8 @@ ENTRY(__stext)
106 SSYNC; 106 SSYNC;
107 107
108 /* Turn off the dcache */ 108 /* Turn off the dcache */
109 p0.l = (DMEM_CONTROL & 0xFFFF); 109 p0.l = LO(DMEM_CONTROL);
110 p0.h = (DMEM_CONTROL >> 16); 110 p0.h = HI(DMEM_CONTROL);
111 R1 = [p0]; 111 R1 = [p0];
112 R0 = ~ENDCPLB; 112 R0 = ~ENDCPLB;
113 R0 = R0 & R1; 113 R0 = R0 & R1;
@@ -335,8 +335,8 @@ ENTRY(_start_dma_code)
335 w[p0] = r0.l; 335 w[p0] = r0.l;
336 ssync; 336 ssync;
337 337
338 p0.l = (EBIU_SDBCTL & 0xFFFF); 338 p0.l = LO(EBIU_SDBCTL);
339 p0.h = (EBIU_SDBCTL >> 16); /* SDRAM Memory Bank Control Register */ 339 p0.h = HI(EBIU_SDBCTL); /* SDRAM Memory Bank Control Register */
340 r0 = mem_SDBCTL; 340 r0 = mem_SDBCTL;
341 w[p0] = r0.l; 341 w[p0] = r0.l;
342 ssync; 342 ssync;