diff options
author | Andre Przywara <andre.przywara@arm.com> | 2023-02-22 16:53:50 +0000 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2023-03-22 13:33:22 +0000 |
commit | 623f6140fc8eaa547d477179b67ca2fde2720fe4 (patch) | |
tree | 78ec3b8cbf50ecbbeedbce2f862b69c7f6b05a52 /services/std_svc | |
parent | d5384b69d1180a596a48014d99e46eb4341f3455 (diff) | |
download | arm-trusted-firmware-623f6140fc8eaa547d477179b67ca2fde2720fe4.tar.gz |
refactor(cpufeat): align FEAT_SEL2 to new feature handling
In ARMv8.4, the EL2 exception level got added to the secure world.
Adapt and rename the existing is_armv8_4_sel2_present() function, to
align its handling with the other CPU features.
Change-Id: If11e1942fdeb63c63f36ab9e89be810347d1a952
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'services/std_svc')
-rw-r--r-- | services/std_svc/spmd/spmd_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/std_svc/spmd/spmd_main.c b/services/std_svc/spmd/spmd_main.c index e85109dfa..0e1899ede 100644 --- a/services/std_svc/spmd/spmd_main.c +++ b/services/std_svc/spmd/spmd_main.c @@ -399,7 +399,7 @@ static int spmd_spmc_init(void *pm_addr) * Check if S-EL2 is supported on this system if S-EL2 * is required for SPM */ - if (!is_armv8_4_sel2_present()) { + if (!is_feat_sel2_supported()) { WARN("SPM Core run time S-EL2 is not supported.\n"); return -EINVAL; } |