diff options
Diffstat (limited to 'arch/arm/mm')
-rw-r--r-- | arch/arm/mm/proc-v6.S | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mm/proc-v6.S b/arch/arm/mm/proc-v6.S index d78c0ae7c2c2..eb42e5b94863 100644 --- a/arch/arm/mm/proc-v6.S +++ b/arch/arm/mm/proc-v6.S | |||
@@ -14,10 +14,13 @@ | |||
14 | #include <asm/assembler.h> | 14 | #include <asm/assembler.h> |
15 | #include <asm/asm-offsets.h> | 15 | #include <asm/asm-offsets.h> |
16 | #include <asm/elf.h> | 16 | #include <asm/elf.h> |
17 | #include <asm/hardware/arm_scu.h> | ||
18 | #include <asm/pgtable-hwdef.h> | 17 | #include <asm/pgtable-hwdef.h> |
19 | #include <asm/pgtable.h> | 18 | #include <asm/pgtable.h> |
20 | 19 | ||
20 | #ifdef CONFIG_SMP | ||
21 | #include <asm/hardware/arm_scu.h> | ||
22 | #endif | ||
23 | |||
21 | #include "proc-macros.S" | 24 | #include "proc-macros.S" |
22 | 25 | ||
23 | #define D_CACHE_LINE_SIZE 32 | 26 | #define D_CACHE_LINE_SIZE 32 |
@@ -187,8 +190,7 @@ __v6_setup: | |||
187 | /* Set up the SCU on core 0 only */ | 190 | /* Set up the SCU on core 0 only */ |
188 | mrc p15, 0, r0, c0, c0, 5 @ CPU core number | 191 | mrc p15, 0, r0, c0, c0, 5 @ CPU core number |
189 | ands r0, r0, #15 | 192 | ands r0, r0, #15 |
190 | moveq r0, #0x10000000 @ SCU_BASE | 193 | ldreq r0, =SCU_BASE |
191 | orreq r0, r0, #0x00100000 | ||
192 | ldreq r5, [r0, #SCU_CTRL] | 194 | ldreq r5, [r0, #SCU_CTRL] |
193 | orreq r5, r5, #1 | 195 | orreq r5, r5, #1 |
194 | streq r5, [r0, #SCU_CTRL] | 196 | streq r5, [r0, #SCU_CTRL] |