mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
x86: irq: Reserve IRQ9 for ACPI in PIC mode
Reserve IRQ9 which is to be used as SCI interrupt number for ACPI in PIC mode. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
dca4d1a2ce
commit
07ac84eaaa
1 changed files with 5 additions and 0 deletions
|
@ -121,6 +121,11 @@ static int create_pirq_routing_table(struct udevice *dev)
|
|||
priv->irq_mask = fdtdec_get_int(blob, node,
|
||||
"intel,pirq-mask", PIRQ_BITMAP);
|
||||
|
||||
if (IS_ENABLED(CONFIG_GENERATE_ACPI_TABLE)) {
|
||||
/* Reserve IRQ9 for SCI */
|
||||
priv->irq_mask &= ~(1 << 9);
|
||||
}
|
||||
|
||||
if (priv->config == PIRQ_VIA_IBASE) {
|
||||
int ibase_off;
|
||||
|
||||
|
|
Loading…
Reference in a new issue