Skip to content
Commit 90859c6b authored by Carlo Caione's avatar Carlo Caione Committed by Anas Nashif
Browse files

aarch64: smccc: Decouple PSCI from SMCCC



The current code is assuming that the SMC/HVC helpers can only be used
by the PSCI driver. This is wrong because a mechanism to call into the
secure monitor should be made available regardless of using PSCI or not.

For example several SoCs relies on SMC calls to read/write e-fuses,
retrieve the chip ID, control power domains, etc...

This patch introduces a new CONFIG_HAS_ARM_SMCCC symbol to enable the
SMC/HVC helpers support and export that to drivers that require it.

Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
parent 6ff37886
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment