From 823a329bb8e118657989abaf0eb40e205a1c906a Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Fri, 29 Jul 2022 14:21:28 +0100 Subject: soc/intel/apollolake/acpi: Remove STOM from ACPI This should only contain resources that the PCI domain uses. Stolen memory prevents the PCI domain from allocating anything where it is. Signed-off-by: Sean Rhodes Change-Id: I1562396f0b747a81bbc584314956809bd3865ff9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66267 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/intel/apollolake/acpi/northbridge.asl | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/soc/intel/apollolake/acpi') diff --git a/src/soc/intel/apollolake/acpi/northbridge.asl b/src/soc/intel/apollolake/acpi/northbridge.asl index deda3b9771..1b47509094 100644 --- a/src/soc/intel/apollolake/acpi/northbridge.asl +++ b/src/soc/intel/apollolake/acpi/northbridge.asl @@ -17,9 +17,6 @@ Device (MCHC) , 25, PXBR, 11, /* PCI Express Base Address */ - Offset(0xB4), - BGSM, 32, /* Base of Graphics Stolen Memory */ - Offset (0xbc), /* TOLUD (0:0:0:bc) */ , 20, TLUD, 12, /* Top of Lower Usable DRAM */ @@ -59,12 +56,6 @@ Method (_CRS, 0, Serialized) 0x00000000, 0x000a0000, 0x000bffff, 0x00000000, 0x00020000,,,) - /* Data and GFX stolen memory */ - DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, - Cacheable, ReadWrite, - 0x00000000, 0x3be00000, 0x3fffffff, 0x00000000, - 0x04200000,,, STOM) - /* * PCI MMIO Region (TOLUD - PCI extended base MMCONF) * This assumes that MMCONF is placed after PCI config space, @@ -99,19 +90,6 @@ Method (_CRS, 0, Serialized) /* Calculate PCI MMIO Length */ PLEN = PMAX - PMIN + 1 - /* Find GFX resource area in GCRS */ - CreateDwordField(MCRS, STOM._MIN, GMIN) - CreateDwordField(MCRS, STOM._MAX, GMAX) - CreateDwordField(MCRS, STOM._LEN, GLEN) - - /* Read BGSM */ - GMIN = \_SB.PCI0.MCHC.BGSM & 0xFFF00000 - - /* Read TOLUD */ - GMAX = ^MCHC.TLUD << 20 - GMAX-- - GLEN = GMAX - GMIN + 1 - /* Patch PM02 range based on Memory Size */ If (A4GS == 0) { CreateQwordField (MCRS, PM02._LEN, MSEN) -- cgit v1.2.3