From 97439ecc0178a0935d50a4b3a1774027ae7bebbf Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 5 Jun 2023 19:30:23 +0200 Subject: soc/intel/xeon_sp: use VGA_MMIO_* defines from arch/vga.h Now that we have x86 architecture specific VGA_MMIO_* defines in arch/vga.h, use those instead of having SoC-specific defines for this. Signed-off-by: Felix Held Change-Id: I77b914d563bdc83e7fad7d7fccd5cf7777cb4918 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75669 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/soc/intel/xeon_sp/cpx/soc_acpi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/soc/intel/xeon_sp/cpx') diff --git a/src/soc/intel/xeon_sp/cpx/soc_acpi.c b/src/soc/intel/xeon_sp/cpx/soc_acpi.c index e8abd776d6..52afe45c68 100644 --- a/src/soc/intel/xeon_sp/cpx/soc_acpi.c +++ b/src/soc/intel/xeon_sp/cpx/soc_acpi.c @@ -2,6 +2,7 @@ #include #include +#include #include #include #include @@ -87,9 +88,8 @@ void uncore_inject_dsdt(const struct device *device) /* additional mem32 resources on socket 0 bus 0 */ if (stack == 0) { - acpigen_resource_dword(0, 0xc, 3, 0, VGA_BASE_ADDRESS, - (VGA_BASE_ADDRESS + VGA_BASE_SIZE - 1), 0x0, - VGA_BASE_SIZE); + acpigen_resource_dword(0, 0xc, 3, 0, VGA_MMIO_BASE, + VGA_MMIO_LIMIT, 0x0, VGA_MMIO_SIZE); acpigen_resource_dword(0, 0xc, 1, 0, SPI_BASE_ADDRESS, (SPI_BASE_ADDRESS + SPI_BASE_SIZE - 1), 0x0, SPI_BASE_SIZE); -- cgit v1.2.3