summaryrefslogtreecommitdiff
path: root/arch/arm/mach-realview/Makefile
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-10-09 13:38:57 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-12-15 09:42:52 +0100
commit5420b4b156179ec634d9e42279b6898b85852960 (patch)
tree43ebde876ef96fa3881e159d24b8e3f76ea12717 /arch/arm/mach-realview/Makefile
parentca5b21fa6ec61cdf8906265141a9f15169d2808b (diff)
ARM: realview: add an DT SMP boot method
This adds an SMP boot method for the ARM RealView reference designs. We also select HAVE_SMP by default and make it use SMP_ON_UP so we only need to support one single kernel across the RealView reference designs when using DT. The RealViews need to have the SCU (Snoop Control Unit) activated on boot, and this is now done by looking up its address from the device tree and initializing it and counting the available cores. The RealViews boot by using a magic address register in the system controller (SYS_FLAGS) to store the boot address, the ROM will then read this register to the PC when the CPUs are taken out of WFI. This code uses a handle to the syscon regmap to access this register. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-realview/Makefile')
-rw-r--r--arch/arm/mach-realview/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/Makefile b/arch/arm/mach-realview/Makefile
index e07fdf7ae8a7..a46fa694cf07 100644
--- a/arch/arm/mach-realview/Makefile
+++ b/arch/arm/mach-realview/Makefile
@@ -3,7 +3,7 @@
#
obj-y := core.o
-obj-$(CONFIG_REALVIEW_DT) += realview-dt.o
+obj-$(CONFIG_REALVIEW_DT) += realview-dt.o platsmp-dt.o
obj-$(CONFIG_MACH_REALVIEW_EB) += realview_eb.o
obj-$(CONFIG_MACH_REALVIEW_PB11MP) += realview_pb11mp.o
obj-$(CONFIG_MACH_REALVIEW_PB1176) += realview_pb1176.o