diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-10-31 15:25:35 +0000 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-01 14:15:39 +0000 |
commit | a0fee7474fb946fcbcd43c4947cf113147e26301 (patch) | |
tree | da05ee3a1ec652ea8aede81f84af0d4e48237a8c /plat/mediatek | |
parent | 3c1fb7a7006b2cd076d958aa8ba14eba25e82de8 (diff) | |
download | platform_external_arm-trusted-firmware-a0fee7474fb946fcbcd43c4947cf113147e26301.tar.gz platform_external_arm-trusted-firmware-a0fee7474fb946fcbcd43c4947cf113147e26301.tar.bz2 platform_external_arm-trusted-firmware-a0fee7474fb946fcbcd43c4947cf113147e26301.zip |
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 'plat/mediatek')
-rw-r--r-- | plat/mediatek/mt6795/bl31_plat_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/mediatek/mt6795/bl31_plat_setup.c b/plat/mediatek/mt6795/bl31_plat_setup.c index 96a0bd83f..8df7dada8 100644 --- a/plat/mediatek/mt6795/bl31_plat_setup.c +++ b/plat/mediatek/mt6795/bl31_plat_setup.c @@ -339,7 +339,7 @@ static entry_point_info_t *bl31_plat_get_next_kernel64_ep_info(void) next_image_info = &bl33_image_ep_info; /* Figure out what mode we enter the non-secure world in */ - if (EL_IMPLEMENTED(2)) { + if (el_implemented(2) != EL_IMPL_NONE) { INFO("Kernel_EL2\n"); mode = MODE_EL2; } else{ |