summaryrefslogtreecommitdiff
path: root/plat/hisilicon/hikey960
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/hikey960
parent3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07 (diff)
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/hikey960')
-rw-r--r--plat/hisilicon/hikey960/hikey960_bl2_setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/hisilicon/hikey960/hikey960_bl2_setup.c b/plat/hisilicon/hikey960/hikey960_bl2_setup.c
index 11bbf9e1..6e726d2f 100644
--- a/plat/hisilicon/hikey960/hikey960_bl2_setup.c
+++ b/plat/hisilicon/hikey960/hikey960_bl2_setup.c
@@ -267,6 +267,9 @@ int hikey960_bl2_handle_post_image_load(unsigned int image_id)
}
break;
#endif
+ default:
+ /* Do nothing in default case */
+ break;
}
return err;