summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/emev2.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2012-05-16 10:45:25 +0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-05-18 02:14:02 +0400
commitbd5a875d90c878be4d23f54ea565253734ae2377 (patch)
tree98cc3435486ab8b55374d24051b262c21600b95b /arch/arm/mach-shmobile/include/mach/emev2.h
parentc050fb10c425cf189da5ca9b84e948ec2fc99049 (diff)
downloadlinux-bd5a875d90c878be4d23f54ea565253734ae2377.tar.xz
mach-shmobile: Emma Mobile EV2 SMP support V3
This is V3 of Emma Mobile EV2 SMP support. At this point only the most basic form of SMP operation is supported. TWD and CPU Hotplug support is excluded. Tied to both the Emma Mobile EV2 and the KZM9D board due to the need to switch on board in platsmp.c and the newly introduced need for static mappings. The static mappings are needed to allow hardware acces early during boot when SMP is initialized. This early requirement forces us to also map in the SMU registers. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/emev2.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/emev2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/emev2.h b/arch/arm/mach-shmobile/include/mach/emev2.h
index 92646c1de616..3fc718419854 100644
--- a/arch/arm/mach-shmobile/include/mach/emev2.h
+++ b/arch/arm/mach-shmobile/include/mach/emev2.h
@@ -1,9 +1,16 @@
#ifndef __ASM_EMEV2_H__
#define __ASM_EMEV2_H__
+extern void emev2_map_io(void);
extern void emev2_init_irq(void);
extern void emev2_add_early_devices(void);
extern void emev2_add_standard_devices(void);
extern void emev2_clock_init(void);
+extern void emev2_set_boot_vector(unsigned long value);
+extern unsigned int emev2_get_core_count(void);
+extern int emev2_platform_cpu_kill(unsigned int cpu);
+extern void emev2_secondary_init(unsigned int cpu);
+extern int emev2_boot_secondary(unsigned int cpu);
+extern void emev2_smp_prepare_cpus(void);
#endif /* __ASM_EMEV2_H__ */