diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-11-03 13:30:13 +0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-12-17 00:33:41 +0400 |
commit | 73346794b48237b7b4c2a5c02b12e3c4f1da7551 (patch) | |
tree | 49e6ef08466d94f7899e4beea8bb4cc7991b3f75 /arch/arm/mach-sunxi/headsmp.S | |
parent | a3b7a0c84d56bc50d33428f302778104b7164ba2 (diff) | |
download | linux-73346794b48237b7b4c2a5c02b12e3c4f1da7551.tar.xz |
ARM: sun6i: Add SMP support for the Allwinner A31
The A31 is a quad Cortex-A7. Add the logic to use the IPs used to
control the CPU configuration and the CPU power so that we can bring up
secondary CPUs at boot.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-sunxi/headsmp.S')
-rw-r--r-- | arch/arm/mach-sunxi/headsmp.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/headsmp.S b/arch/arm/mach-sunxi/headsmp.S new file mode 100644 index 000000000000..a10d494fb37b --- /dev/null +++ b/arch/arm/mach-sunxi/headsmp.S @@ -0,0 +1,9 @@ +#include <linux/linkage.h> +#include <linux/init.h> + + .section ".text.head", "ax" + +ENTRY(sun6i_secondary_startup) + msr cpsr_fsxc, #0xd3 + b secondary_startup +ENDPROC(sun6i_secondary_startup) |