soc/intel/broadwell/memmap.c: Use `SA_DEV_ROOT` macro
Tested with BUILD_TIMELESS=1, Purism Librem 13 v1 remains identical. Change-Id: I013357d31974582f64a35b8228d9edfa16af99fd Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46356 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
dd558fd0cf
commit
ac02814478
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue