diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-01-28 11:09:56 +0100 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-01-29 18:36:22 +0000 |
commit | 816a41c904d1ba60ead3227bac83d5470f01c1ec (patch) | |
tree | 9bca5dda59c0ab3ed81dc5912e52b078e48eb6a5 /src/mainboard/emulation/qemu-q35/acpi_tables.c | |
parent | 899525d92c945f458e888955c6196ce1235dc8c6 (diff) |
mb/emulation/qemu-q35: Consolidate host bridge definitions
Move all Q35 register definitions into the q35.h header. Note that real
hardware does not have EXT_TSEG_MBYTES, because it is QEMU-specific.
Change-Id: I4c86ac0bb05563dee111b9b4a4a71c1c31198acd
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50024
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-q35/acpi_tables.c')
-rw-r--r-- | src/mainboard/emulation/qemu-q35/acpi_tables.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-q35/acpi_tables.c b/src/mainboard/emulation/qemu-q35/acpi_tables.c index 08ddf57223..03d357cbfc 100644 --- a/src/mainboard/emulation/qemu-q35/acpi_tables.c +++ b/src/mainboard/emulation/qemu-q35/acpi_tables.c @@ -10,6 +10,7 @@ #include "../qemu-i440fx/fw_cfg.h" #include "../qemu-i440fx/acpi.h" +#include "q35.h" void mainboard_fill_fadt(acpi_fadt_t *fadt) { @@ -46,7 +47,7 @@ unsigned long acpi_fill_mcfg(unsigned long current) if (!dev) return current; - reg = pci_read_config32(dev, 0x60); + reg = pci_read_config32(dev, D0F0_PCIEXBAR_LO); if ((reg & 0x07) != 0x01) /* require enabled + 256MB size */ return current; |