soc/intel/alderlake: Use common ACPI code for SRAM and HECI

Use the newly-created ACPI devices in common/acpi, and adjust the
SoC ACPI name for the CSE/HECI device to match.

Change-Id: Iabd9dec2f6838c1dc4b1cad924ceb62c992f89c0
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86813
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
Matt DeVillier 2025-03-11 09:57:22 -05:00
commit 0586e0eb0f
3 changed files with 7 additions and 11 deletions

View file

@ -357,13 +357,3 @@ Device (PEG2)
}
}
#endif
Device (SRAM)
{
Name (_ADR, 0x00140002)
}
Device (HEC1)
{
Name (_ADR, 0x00160000)
}

View file

@ -42,6 +42,12 @@
/* USB XHCI 0:14.0 */
#include "xhci.asl"
/* PMC Shared SRAM 0:14.2 */
#include <soc/intel/common/block/acpi/acpi/sram.asl>
/* CSE/HECI #1 0:16.0 */
#include <soc/intel/common/block/acpi/acpi/heci.asl>
/* PCI _OSC */
#include <soc/intel/common/acpi/pci_osc.asl>

View file

@ -153,7 +153,7 @@ const char *soc_acpi_name(const struct device *dev)
case PCH_DEVFN_GBE: return "GLAN";
case PCH_DEVFN_SRAM: return "SRAM";
case PCH_DEVFN_SPI: return "FSPI";
case PCH_DEVFN_CSE: return "HEC1";
case PCH_DEVFN_CSE: return "HECI";
#if CONFIG(SOC_INTEL_ALDERLAKE_PCH_N)
case PCH_DEVFN_EMMC: return "EMMC";
#endif