diff options
author | Andre Przywara <andre.przywara@arm.com> | 2022-11-15 11:45:19 +0000 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2023-01-11 16:02:58 +0000 |
commit | d242128c1dc87f2c0e25e2c4e84c5668a6c397a3 (patch) | |
tree | cc459c6853fba7ed8cc262a901f27bf490c7a0d9 /bl31 | |
parent | 15107daad6b83b4ee1edfebf420b6779a054318e (diff) | |
download | arm-trusted-firmware-d242128c1dc87f2c0e25e2c4e84c5668a6c397a3.tar.gz |
refactor(cpufeat): convert FEAT_HCX to new scheme
Use the generic check function in feat_detect.c, and split the feature
check into two functions, as done for FEAT_FGT before.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Change-Id: I0a4f973427c10d5d15c414ff5e12b18b7e645fae
Diffstat (limited to 'bl31')
-rw-r--r-- | bl31/bl31_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bl31/bl31_main.c b/bl31/bl31_main.c index 2a3d838e4..a4640b1b9 100644 --- a/bl31/bl31_main.c +++ b/bl31/bl31_main.c @@ -99,7 +99,7 @@ void bl31_setup(u_register_t arg0, u_register_t arg1, u_register_t arg2, * an exception would occur during context save/restore if enabled but * not supported. */ - assert(is_feat_hcx_present()); + assert(is_feat_hcx_supported()); #endif /* ENABLE_FEAT_HCX */ #if CTX_INCLUDE_PAUTH_REGS |