plat: fix switch statements to comply with MISRA rules
authorJonathan Wright <jonathan.wright@arm.com>
Wed, 14 Mar 2018 15:24:00 +0000 (15:24 +0000)
committerJonathan Wright <jonathan.wright@arm.com>
Mon, 26 Mar 2018 11:43:05 +0000 (12:43 +0100)
commit649c48f5dca1765eabd42b5d630736a5d1e1f5e2
tree48e9700b7154e62d0e8b43e732346e3929b938a3
parent3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07
plat: fix switch statements to comply with MISRA rules

Ensure (where possible) that switch statements in plat comply with MISRA
rules 16.1 - 16.7.

Change-Id: Ie4a7d2fd10f6141c0cfb89317ea28a755391622f
Signed-off-by: Jonathan Wright <jonathan.wright@arm.com>
18 files changed:
plat/arm/board/fvp/fvp_pm.c
plat/arm/common/arm_bl2_setup.c
plat/common/plat_gicv2.c
plat/common/plat_gicv3.c
plat/hisilicon/hikey/hikey_bl2_setup.c
plat/hisilicon/hikey960/hikey960_bl2_setup.c
plat/hisilicon/poplar/bl2_plat_setup.c
plat/mediatek/common/custom/oem_svc.c
plat/mediatek/common/mtk_sip_svc.c
plat/qemu/qemu_bl2_setup.c
plat/rockchip/common/rockchip_sip_svc.c
plat/rockchip/rk3368/plat_sip_calls.c
plat/rockchip/rk3399/drivers/dram/dfs.c
plat/rockchip/rk3399/drivers/dram/dram_spec_timing.c
plat/rockchip/rk3399/drivers/pmu/pmu.c
plat/rpi3/rpi3_bl2_setup.c
plat/socionext/uniphier/uniphier_bl2_setup.c
plat/xilinx/zynqmp/aarch64/zynqmp_common.c