arm-trusted-firmware/plat/common/aarch64
Arvind Ram Prakash c42d0d8754 fix(misra): fix MISRA defects
This patch resolves the MISRA issues reported in mailing list.
It addresses the following MISRA Rules violations - Rule 15.7 and
Rule 2.4.

* As per Rule 15.7, All if.. else if constructs should be terminated
with an else statement and hence the conditional block
has been changed to switch..case. Updated get_el_str() to include
all EL cases.

* As per Rule 2.4, A project should not contain unused tag declarations,
hence intr_type_desc tag is removed.

* bl31_lib_init is only used in translation unit and hence it's
declaration is removed from bl31.h and the definition is made static to
maintain visibility.

Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com>
Change-Id: Ica1d3041566baf51befcad5fd3714189117ba193
2024-03-07 09:38:27 -06:00
..
crash_console_helpers.S fix(console): fix crash on spin_unlock with cache disabled 2022-11-29 03:35:23 +01:00
plat_common.c fix(misra): fix MISRA defects 2024-03-07 09:38:27 -06:00
plat_ehf.c fix(ras): remove RAS_FFH_SUPPORT and introduce FFH_SUPPORT 2023-11-01 17:45:56 +00:00
platform_helpers.S Remove deprecated plat_crash_console_* 2019-04-03 14:55:18 +01:00
platform_mp_stack.S build: always prefix section names with . 2023-02-20 18:29:33 +00:00
platform_up_stack.S build: always prefix section names with . 2023-02-20 18:29:33 +00:00