aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/ironlake/bootblock.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/bootblock.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/bootblock.c')
-rw-r--r--src/northbridge/intel/ironlake/bootblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/ironlake/bootblock.c b/src/northbridge/intel/ironlake/bootblock.c
index 50e7adbb93..89eb81339e 100644
--- a/src/northbridge/intel/ironlake/bootblock.c
+++ b/src/northbridge/intel/ironlake/bootblock.c
@@ -6,6 +6,6 @@
void bootblock_early_northbridge_init(void)
{
- pci_io_write_config32(QPI_SAD, 0x50, CONFIG_MMCONF_BASE_ADDRESS | 1);
- pci_io_write_config32(QPI_SAD, 0x54, 0);
+ pci_io_write_config32(QPI_SAD, SAD_PCIEXBAR, CONFIG_MMCONF_BASE_ADDRESS | 1);
+ pci_io_write_config32(QPI_SAD, SAD_PCIEXBAR + 4, 0);
}