aboutsummaryrefslogtreecommitdiffstats
path: root/plat/common/plat_gicv3.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/common/plat_gicv3.c')
-rw-r--r--plat/common/plat_gicv3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/common/plat_gicv3.c b/plat/common/plat_gicv3.c
index 030eea723..26a4973f9 100644
--- a/plat/common/plat_gicv3.c
+++ b/plat/common/plat_gicv3.c
@@ -158,15 +158,14 @@ uint32_t plat_interrupt_type_to_line(uint32_t type,
return __builtin_ctz(SCR_FIQ_BIT);
else
return __builtin_ctz(SCR_IRQ_BIT);
- default:
- assert(0);
- /* Fall through in the release build */
case INTR_TYPE_EL3:
/*
* The EL3 interrupts are signaled as FIQ in both S-EL0/1 and
* NS-EL0/1/2 contexts
*/
return __builtin_ctz(SCR_FIQ_BIT);
+ default:
+ panic();
}
}
@@ -248,6 +247,7 @@ void plat_ic_set_spi_routing(unsigned int id, unsigned int routing_mode,
break;
default:
assert(0);
+ break;
}
gicv3_set_spi_routing(id, irm, mpidr);