Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/75664?usp=email )
Change subject: sb/amd/pi/hudson/acpi/fch: use VGA_MMIO_* defines ......................................................................
sb/amd/pi/hudson/acpi/fch: use VGA_MMIO_* defines
Replace the magic constants by using defines.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I3cb150aee8030d1a419f3596ddbc32cb29f65b52 --- M src/southbridge/amd/pi/hudson/acpi/fch.asl 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/64/75664/1
diff --git a/src/southbridge/amd/pi/hudson/acpi/fch.asl b/src/southbridge/amd/pi/hudson/acpi/fch.asl index 10f25a1..834b346 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 <arch/vga.h> + /* System Bus */ /* _SB.PCI0 */
@@ -87,7 +89,7 @@ 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 */