summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/broadwell/memmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/broadwell/memmap.c b/src/soc/intel/broadwell/memmap.c
index fb9a834f6c..e4c787a016 100644
--- a/src/soc/intel/broadwell/memmap.c
+++ b/src/soc/intel/broadwell/memmap.c
@@ -35,8 +35,8 @@ void *cbmem_top_chipset(void)
void smm_region(uintptr_t *start, size_t *size)
{
- uintptr_t tseg = pci_read_config32(PCI_DEV(0, 0, 0), TSEG);
- uintptr_t bgsm = pci_read_config32(PCI_DEV(0, 0, 0), BGSM);
+ uintptr_t tseg = pci_read_config32(SA_DEV_ROOT, TSEG);
+ uintptr_t bgsm = pci_read_config32(SA_DEV_ROOT, BGSM);
tseg = ALIGN_DOWN(tseg, 1 * MiB);
bgsm = ALIGN_DOWN(bgsm, 1 * MiB);