diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-19 14:44:23 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-22 16:30:02 -0400 |
commit | 39c999697bf43a97b877fa43cbc9c2a4d1a3a461 (patch) | |
tree | d0f2432e89f7f36f9f2a39aed80527d072273bb0 /arch/blackfin/mach-bf561/smp.c | |
parent | 9ebcaa47ba831b6ad5cc414b3c3ff310a9d5d582 (diff) |
Blackfin: bf561: rewrite SICA_xxx to just SIC_xxx
This matches all the other Blackfin ports and keep us from having to write
bf561-specific code in many places.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf561/smp.c')
-rw-r--r-- | arch/blackfin/mach-bf561/smp.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c index 3b9a4bf7dacc..f540ed1257d6 100644 --- a/arch/blackfin/mach-bf561/smp.c +++ b/arch/blackfin/mach-bf561/smp.c | |||
@@ -52,19 +52,19 @@ int __init setup_profiling_timer(unsigned int multiplier) /* not supported */ | |||
52 | void __cpuinit platform_secondary_init(unsigned int cpu) | 52 | void __cpuinit platform_secondary_init(unsigned int cpu) |
53 | { | 53 | { |
54 | /* Clone setup for peripheral interrupt sources from CoreA. */ | 54 | /* Clone setup for peripheral interrupt sources from CoreA. */ |
55 | bfin_write_SICB_IMASK0(bfin_read_SICA_IMASK0()); | 55 | bfin_write_SICB_IMASK0(bfin_read_SIC_IMASK0()); |
56 | bfin_write_SICB_IMASK1(bfin_read_SICA_IMASK1()); | 56 | bfin_write_SICB_IMASK1(bfin_read_SIC_IMASK1()); |
57 | SSYNC(); | 57 | SSYNC(); |
58 | 58 | ||
59 | /* Clone setup for IARs from CoreA. */ | 59 | /* Clone setup for IARs from CoreA. */ |
60 | bfin_write_SICB_IAR0(bfin_read_SICA_IAR0()); | 60 | bfin_write_SICB_IAR0(bfin_read_SIC_IAR0()); |
61 | bfin_write_SICB_IAR1(bfin_read_SICA_IAR1()); | 61 | bfin_write_SICB_IAR1(bfin_read_SIC_IAR1()); |
62 | bfin_write_SICB_IAR2(bfin_read_SICA_IAR2()); | 62 | bfin_write_SICB_IAR2(bfin_read_SIC_IAR2()); |
63 | bfin_write_SICB_IAR3(bfin_read_SICA_IAR3()); | 63 | bfin_write_SICB_IAR3(bfin_read_SIC_IAR3()); |
64 | bfin_write_SICB_IAR4(bfin_read_SICA_IAR4()); | 64 | bfin_write_SICB_IAR4(bfin_read_SIC_IAR4()); |
65 | bfin_write_SICB_IAR5(bfin_read_SICA_IAR5()); | 65 | bfin_write_SICB_IAR5(bfin_read_SIC_IAR5()); |
66 | bfin_write_SICB_IAR6(bfin_read_SICA_IAR6()); | 66 | bfin_write_SICB_IAR6(bfin_read_SIC_IAR6()); |
67 | bfin_write_SICB_IAR7(bfin_read_SICA_IAR7()); | 67 | bfin_write_SICB_IAR7(bfin_read_SIC_IAR7()); |
68 | bfin_write_SICB_IWR0(IWR_DISABLE_ALL); | 68 | bfin_write_SICB_IWR0(IWR_DISABLE_ALL); |
69 | bfin_write_SICB_IWR1(IWR_DISABLE_ALL); | 69 | bfin_write_SICB_IWR1(IWR_DISABLE_ALL); |
70 | SSYNC(); | 70 | SSYNC(); |
@@ -86,12 +86,12 @@ int __cpuinit platform_boot_secondary(unsigned int cpu, struct task_struct *idle | |||
86 | 86 | ||
87 | spin_lock(&boot_lock); | 87 | spin_lock(&boot_lock); |
88 | 88 | ||
89 | if ((bfin_read_SICA_SYSCR() & COREB_SRAM_INIT) == 0) { | 89 | if ((bfin_read_SIC_SYSCR() & COREB_SRAM_INIT) == 0) { |
90 | /* CoreB already running, sending ipi to wakeup it */ | 90 | /* CoreB already running, sending ipi to wakeup it */ |
91 | platform_send_ipi_cpu(cpu, IRQ_SUPPLE_0); | 91 | platform_send_ipi_cpu(cpu, IRQ_SUPPLE_0); |
92 | } else { | 92 | } else { |
93 | /* Kick CoreB, which should start execution from CORE_SRAM_BASE. */ | 93 | /* Kick CoreB, which should start execution from CORE_SRAM_BASE. */ |
94 | bfin_write_SICA_SYSCR(bfin_read_SICA_SYSCR() & ~COREB_SRAM_INIT); | 94 | bfin_write_SIC_SYSCR(bfin_read_SIC_SYSCR() & ~COREB_SRAM_INIT); |
95 | SSYNC(); | 95 | SSYNC(); |
96 | } | 96 | } |
97 | 97 | ||