summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAng, Chee Hong <chee.hong.ang@intel.com>2019-02-12 00:27:03 -0800
committerTom Rini <trini@konsulko.com>2019-04-22 18:13:21 -0400
commitfd50eac9100e8dd04f657960f05a92a0d1a3f663 (patch)
treee361e90026855b34b7bf835a229a5170075646a1
parentf6b0115a966cc0f0eb816a1570ccd99dd5611b3f (diff)
ARMv8: Disable fwcall when PSCI is enabled
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>
-rw-r--r--arch/arm/cpu/armv8/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/Makefile b/arch/arm/cpu/armv8/Makefile
index a5f54330e3..b349b13f49 100644
--- a/arch/arm/cpu/armv8/Makefile
+++ b/arch/arm/cpu/armv8/Makefile
@@ -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