]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARMv8: Disable fwcall when PSCI is enabled
authorAng, Chee Hong <chee.hong.ang@intel.com>
Tue, 12 Feb 2019 08:27:03 +0000 (00:27 -0800)
committerTom Rini <trini@konsulko.com>
Mon, 22 Apr 2019 22:13:21 +0000 (18:13 -0400)
When PSCI is enabled, we are expecting U-Boot which now act
as EL3 software will handle all the PSCI calls. We won't need
fwcall as no further HVC or SMC are needed.

Signed-off-by: Ang, Chee Hong <chee.hong.ang@intel.com>
arch/arm/cpu/armv8/Makefile

index a5f54330e38e9675a4ce1908329e1587129c707f..b349b13f497a2caa01da8751de0955ef62ff7912 100644 (file)
@@ -19,7 +19,9 @@ endif
 obj-y  += cache.o
 obj-y  += tlb.o
 obj-y  += transition.o
+ifndef CONFIG_ARMV8_PSCI
 obj-y  += fwcall.o
+endif
 obj-y  += cpu-dt.o
 obj-$(CONFIG_ARM_SMCCC)                += smccc-call.o