aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/ironlake/acpi.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-22 16:43:48 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-08-03 05:30:59 +0000
commit45008930626bda902c8f37880e6f09d517b8cdd2 (patch)
treebe885c8deea5a176a9f0423b25a239df98ad7f8d /src/northbridge/intel/ironlake/acpi.c
parent3ab19b32a2d417a03e2b3d9942eae981dd951233 (diff)
nb/intel/ironlake: Correct PCIEXBAR definition
This register resides within the SAD's config space, and is 64-bit. Change-Id: I19458f7c6be6b1a5fcd47ac93ee0597f1251a770 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43733 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/northbridge/intel/ironlake/acpi.c')
-rw-r--r--src/northbridge/intel/ironlake/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/ironlake/acpi.c b/src/northbridge/intel/ironlake/acpi.c
index 1fa7267ebe..c954086afb 100644
--- a/src/northbridge/intel/ironlake/acpi.c
+++ b/src/northbridge/intel/ironlake/acpi.c
@@ -13,7 +13,7 @@ unsigned long acpi_fill_mcfg(unsigned long current)
u32 pciexbar_reg;
int max_buses;
- pciexbar_reg = pci_read_config32(QPI_SAD, 0x50);
+ pciexbar_reg = pci_read_config32(QPI_SAD, SAD_PCIEXBAR);
// MMCFG not supported or not enabled.
if (!(pciexbar_reg & (1 << 0)))