aboutsummaryrefslogtreecommitdiff
path: root/plat/hisilicon/poplar
diff options
context:
space:
mode:
authorJonathan Wright <jonathan.wright@arm.com>2018-03-14 15:24:00 +0000
committerJonathan Wright <jonathan.wright@arm.com>2018-03-26 12:43:05 +0100
commit649c48f5dca1765eabd42b5d630736a5d1e1f5e2 (patch)
tree48e9700b7154e62d0e8b43e732346e3929b938a3 /plat/hisilicon/poplar
parent3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07 (diff)
downloadtrusted-firmware-a-649c48f5dca1765eabd42b5d630736a5d1e1f5e2.tar.gz
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>
Diffstat (limited to 'plat/hisilicon/poplar')
-rw-r--r--plat/hisilicon/poplar/bl2_plat_setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/hisilicon/poplar/bl2_plat_setup.c b/plat/hisilicon/poplar/bl2_plat_setup.c
index 177630b03..2671994a2 100644
--- a/plat/hisilicon/poplar/bl2_plat_setup.c
+++ b/plat/hisilicon/poplar/bl2_plat_setup.c
@@ -193,6 +193,9 @@ int poplar_bl2_handle_post_image_load(unsigned int image_id)
}
break;
#endif
+ default:
+ /* Do nothing in default case */
+ break;
}
return err;