soc/intel/jasperlake: Add ACPI device name for Storage controllers
This enables adding ACPI objects at run-time for SD Card and EMMC devices. BUG=b:150872580 TEST=Build and boot the mainboard. Observe ACPI objects like card detect gpio are added to the SSDT. Change-Id: I754aee3b0fd343994bd06d9c28e038f651009d6d Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40420 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
85cd9a1c93
commit
e5ec91b393
|
@ -87,6 +87,8 @@ const char *soc_acpi_name(const struct device *dev)
|
||||||
case PCH_DEVFN_GSPI1: return "SPI1";
|
case PCH_DEVFN_GSPI1: return "SPI1";
|
||||||
case PCH_DEVFN_GSPI2: return "SPI2";
|
case PCH_DEVFN_GSPI2: return "SPI2";
|
||||||
case PCH_DEVFN_GSPI3: return "SPI3";
|
case PCH_DEVFN_GSPI3: return "SPI3";
|
||||||
|
case PCH_DEVFN_EMMC: return "EMMC";
|
||||||
|
case PCH_DEVFN_SDCARD: return "SDXC";
|
||||||
/* Keeping ACPI device name coherent with ec.asl */
|
/* Keeping ACPI device name coherent with ec.asl */
|
||||||
case PCH_DEVFN_ESPI: return "LPCB";
|
case PCH_DEVFN_ESPI: return "LPCB";
|
||||||
case PCH_DEVFN_HDA: return "HDAS";
|
case PCH_DEVFN_HDA: return "HDAS";
|
||||||
|
|
Loading…
Reference in New Issue