summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm/bcm63xx_smp.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-08-14 19:37:45 -0700
committerFlorian Fainelli <f.fainelli@gmail.com>2015-05-20 15:08:44 -0700
commited5cd8163da8d3e02ef83b84e42d555d40bab96a (patch)
treec316c3a4108dc4fabb4b600d5c7a09b6e6d08b84 /arch/arm/mach-bcm/bcm63xx_smp.h
parent7d7d7a413c5b8dddfde56dce1dd42e2199033c6c (diff)
ARM: BCM63xx: Add SMP support for BCM63138
Add support for booting the secondary CPU on BCM63138, this involves: - locating the bootlut to write the reset vector - powering up the second CPU when we need to using the DT-supplied PMB references - disabling VFP when enabled such that we can keep having SMP Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/mach-bcm/bcm63xx_smp.h')
-rw-r--r--arch/arm/mach-bcm/bcm63xx_smp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm/bcm63xx_smp.h b/arch/arm/mach-bcm/bcm63xx_smp.h
new file mode 100644
index 000000000000..50b76044536e
--- /dev/null
+++ b/arch/arm/mach-bcm/bcm63xx_smp.h
@@ -0,0 +1,9 @@
+#ifndef __BCM63XX_SMP_H
+#define __BCM63XX_SMP_H
+
+struct device_node;
+
+extern void bcm63138_secondary_startup(void);
+extern int bcm63xx_pmb_power_on_cpu(struct device_node *dn);
+
+#endif /* __BCM63XX_SMP_H */