summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sunxi/Makefile
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2018-01-17 16:46:47 +0800
committerChen-Yu Tsai <wens@csie.org>2018-02-20 11:12:38 +0800
commit745373e3d6ee3e398494d3aebe923b57a90ebadf (patch)
tree854c327411cc68ef871d428af85538aee37eadc3 /arch/arm/mach-sunxi/Makefile
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
downloadlinux-745373e3d6ee3e398494d3aebe923b57a90ebadf.tar.bz2
ARM: sun9i: Support SMP bring-up on A80
The A80 is a big.LITTLE SoC with 1 cluster of 4 Cortex-A7s and 1 cluster of 4 Cortex-A15s. This patch adds support to bring up the second cluster and thus all cores using custom platform SMP code. Core/cluster power down has not been implemented, thus CPU hotplugging is not supported. Parts of the trampoline and re-entry code for the boot cpu was adapted from the MCPM framework. Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm/mach-sunxi/Makefile')
-rw-r--r--arch/arm/mach-sunxi/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Makefile b/arch/arm/mach-sunxi/Makefile
index 27b168f121a1..7de9cc286d53 100644
--- a/arch/arm/mach-sunxi/Makefile
+++ b/arch/arm/mach-sunxi/Makefile
@@ -1,2 +1,5 @@
+CFLAGS_mc_smp.o += -march=armv7-a
+
obj-$(CONFIG_ARCH_SUNXI) += sunxi.o
+obj-$(CONFIG_ARCH_SUNXI_MC_SMP) += mc_smp.o
obj-$(CONFIG_SMP) += platsmp.o