openpic: set mixed mode as supported
The Raven MPIC implementation supports the "Mixed" mode to work with an i8259. While we don't implement mixed mode, we should mark it as a supported mode in the mode bitmap. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
1ac3d71302
commit
86e56a885a
|
@ -1470,6 +1470,7 @@ static int openpic_init(SysBusDevice *dev)
|
||||||
opp->irq_ipi0 = RAVEN_IPI_IRQ;
|
opp->irq_ipi0 = RAVEN_IPI_IRQ;
|
||||||
opp->irq_tim0 = RAVEN_TMR_IRQ;
|
opp->irq_tim0 = RAVEN_TMR_IRQ;
|
||||||
opp->brr1 = -1;
|
opp->brr1 = -1;
|
||||||
|
opp->mpic_mode_mask = GCR_MODE_MIXED;
|
||||||
list = list_le;
|
list = list_le;
|
||||||
/* Don't map MSI region */
|
/* Don't map MSI region */
|
||||||
list[2].map = false;
|
list[2].map = false;
|
||||||
|
|
Loading…
Reference in New Issue