From 061444ece0103f13dae147d0cb20f2bb7f69fd4a Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 5 Jun 2023 19:27:35 +0200 Subject: sb/amd/pi/hudson/acpi/fch: use VGA_MMIO_* defines Replace the magic constants by using defines. Signed-off-by: Felix Held Change-Id: I3cb150aee8030d1a419f3596ddbc32cb29f65b52 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75664 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/southbridge/amd/pi/hudson/acpi/fch.asl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/southbridge') diff --git a/src/southbridge/amd/pi/hudson/acpi/fch.asl b/src/southbridge/amd/pi/hudson/acpi/fch.asl index 10f25a1ef8..834b346ac4 100644 --- a/src/southbridge/amd/pi/hudson/acpi/fch.asl +++ b/src/southbridge/amd/pi/hudson/acpi/fch.asl @@ -1,5 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include + /* System Bus */ /* _SB.PCI0 */ @@ -87,7 +89,7 @@ Name(CRES, ResourceTemplate() { 0xF300 /* length */ ) - Memory32Fixed(READONLY, 0x000A0000, 0x00020000, VGAM) /* VGA memory space */ + Memory32Fixed(READONLY, VGA_MMIO_BASE, VGA_MMIO_SIZE, VGAM) /* VGA memory space */ Memory32Fixed(READONLY, 0x000C0000, 0x00020000, EMM1) /* Assume C0000-E0000 empty */ /* memory space for PCI BARs below 4GB */ -- cgit v1.2.3