aboutsummaryrefslogtreecommitdiff
path: root/bl31
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-10-31 15:25:35 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-11-01 14:15:39 +0000
commita0fee7474fb946fcbcd43c4947cf113147e26301 (patch)
treeda05ee3a1ec652ea8aede81f84af0d4e48237a8c /bl31
parent3c1fb7a7006b2cd076d958aa8ba14eba25e82de8 (diff)
downloadtrusted-firmware-a-a0fee7474fb946fcbcd43c4947cf113147e26301.tar.gz
context_mgmt: Fix MISRA defects
The macro EL_IMPLEMENTED() has been deprecated in favour of the new function el_implemented(). Change-Id: Ic9b1b81480b5e019b50a050e8c1a199991bf0ca9 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'bl31')
-rw-r--r--bl31/bl31_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bl31/bl31_main.c b/bl31/bl31_main.c
index 62bea010bd..77b59ed6a8 100644
--- a/bl31/bl31_main.c
+++ b/bl31/bl31_main.c
@@ -159,9 +159,9 @@ void __init bl31_prepare_next_image_entry(void)
* Ensure that the build flag to save AArch32 system registers in CPU
* context is not set for AArch64-only platforms.
*/
- if (EL_IMPLEMENTED(1) == EL_IMPL_A64ONLY) {
+ if (el_implemented(1) == EL_IMPL_A64ONLY) {
ERROR("EL1 supports AArch64-only. Please set build flag "
- "CTX_INCLUDE_AARCH32_REGS = 0");
+ "CTX_INCLUDE_AARCH32_REGS = 0\n");
panic();
}
#endif