summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
authorYuchi Chen <yuchi.chen@intel.com>2024-11-06 09:05:20 +0800
committerLean Sheng Tan <sheng.tan@9elements.com>2024-11-14 19:55:04 +0000
commit1a22344d58657f144171bb419828ca4733cb93a6 (patch)
tree3acdfec38ce3ec14aa0b4595be66695be939a71c /src/soc/intel/common
parent618fbe0d210d50275492521a7c31a04202ef9a7e (diff)
southbridge/intel/common: Improve ACPI _PRT method generation
Add a scope parameter for `intel_write_pci0_PRT()` so that it could be reused for multiple domains. Change-Id: I867a0c74e633ddfe63d29870f9fd50ca883c2e78 Signed-off-by: Yuchi Chen <yuchi.chen@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85013 Reviewed-by: Shuo Liu <shuo.liu@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/irq/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/irq/irq.c b/src/soc/intel/common/block/irq/irq.c
index 386538e61b..16d0fa3206 100644
--- a/src/soc/intel/common/block/irq/irq.c
+++ b/src/soc/intel/common/block/irq/irq.c
@@ -397,7 +397,7 @@ bool generate_pin_irq_map(void)
entry = entry->next;
}
- intel_write_pci0_PRT(pin_irq_map, map_count, &pirq_map);
+ intel_write_pci_PRT("\\_SB.PCI0", pin_irq_map, map_count, &pirq_map);
free(pin_irq_map);
return true;