aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/sunxi/Makefile
diff options
context:
space:
mode:
authorMarc Zyngier2014-07-18 21:06:38 +0100
committerHans de Goede2014-07-31 15:37:24 +0200
commitd5db7024aafc5ea603f3a34f83bb29a1eaa3cbe7 (patch)
tree103f08f56ad35d1e042061fbccd7d25ea2924355 /arch/arm/cpu/armv7/sunxi/Makefile
parent366cc5027841d8b53e3166911f595b9de2aef407 (diff)
sunxi: HYP/non-sec: add sun7i PSCI backend
So far, only supporting the CPU_ON method. Other functions can be added later. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/cpu/armv7/sunxi/Makefile')
-rw-r--r--arch/arm/cpu/armv7/sunxi/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/sunxi/Makefile b/arch/arm/cpu/armv7/sunxi/Makefile
index 6c706393d39..e9721b27b64 100644
--- a/arch/arm/cpu/armv7/sunxi/Makefile
+++ b/arch/arm/cpu/armv7/sunxi/Makefile
@@ -17,6 +17,9 @@ obj-$(CONFIG_SUN7I) += clock_sun4i.o
ifndef CONFIG_SPL_BUILD
obj-y += cpu_info.o
+ifdef CONFIG_ARMV7_PSCI
+obj-y += psci.o
+endif
endif
ifdef CONFIG_SPL_BUILD