Activate IRQ 30 (non-secure private timer IRQ) for case we are running
in non-secure state.
This commit is contained in:
parent
f098889377
commit
f0687d366a
@ -166,8 +166,9 @@ gic_init_secondary(void)
|
||||
/* Enable interrupt distribution */
|
||||
gic_d_write_4(GICD_CTLR, 0x01);
|
||||
|
||||
/* Activate IRQ 29, ie private timer IRQ*/
|
||||
/* Activate IRQ 29-30, ie private timer (secure & non-secure) IRQs */
|
||||
gic_d_write_4(GICD_ISENABLER(29 >> 5), (1UL << (29 & 0x1F)));
|
||||
gic_d_write_4(GICD_ISENABLER(30 >> 5), (1UL << (30 & 0x1F)));
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user