diff mbox series

[U-Boot,v1,2/2] ARMv8: Disable fwcall when PSCI is enabled

Message ID 1549960023-124134-3-git-send-email-chee.hong.ang@intel.com
State Accepted
Commit fd50eac9100e8dd04f657960f05a92a0d1a3f663
Delegated to: Tom Rini
Headers show
Series Allow platform specific service handling on PSCI | expand

Commit Message

Ang, Chee Hong Feb. 12, 2019, 8:27 a.m. UTC
From: "Ang, Chee Hong" <chee.hong.ang@intel.com>

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 | 2 ++
 1 file changed, 2 insertions(+)

Comments

Tom Rini April 24, 2019, 1:22 p.m. UTC | #1
On Tue, Feb 12, 2019 at 12:27:03AM -0800, chee.hong.ang@intel.com wrote:

> From: "Ang, Chee Hong" <chee.hong.ang@intel.com>
> 
> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/cpu/armv8/Makefile b/arch/arm/cpu/armv8/Makefile
index 4c4b13c..ae6178f 100644
--- a/arch/arm/cpu/armv8/Makefile
+++ b/arch/arm/cpu/armv8/Makefile
@@ -18,7 +18,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