ARMv7-A GIC: Fix another initialization errors
This commit is contained in:
parent
ddc1b88027
commit
f698f3dcbe
|
@ -102,10 +102,16 @@ void arm_gic0_initialize(void)
|
|||
for (irq = GIC_IRQ_SPI; irq < nlines; irq += 32)
|
||||
{
|
||||
putreg32(0x00000000, GIC_ICDISR(irq)); /* SPIs secure */
|
||||
putreg32(0xffffffff, GIC_ICDICFR(irq)); /* SPIs edge triggered */
|
||||
putreg32(0xffffffff, GIC_ICDICER(irq)); /* SPIs disabled */
|
||||
}
|
||||
|
||||
/* Registers with 2-bits per interrupt */
|
||||
|
||||
for (irq = GIC_IRQ_SPI; irq < nlines; irq += 16)
|
||||
{
|
||||
putreg32(0xffffffff, GIC_ICDICFR(irq)); /* SPIs edge triggered */
|
||||
}
|
||||
|
||||
/* Registers with 8-bits per interrupt */
|
||||
|
||||
for (irq = GIC_IRQ_SPI; irq < nlines; irq += 4)
|
||||
|
|
Loading…
Reference in New Issue