skylake: Add ACPI device name handler

Hardware / Coreboot - Duncan Laurie [chromium.org] - 20 May 2016 23:00 UTC

Add a global ACPI device name handler for the Skylake SOC that will translate skylake device paths into an ACPI path that matches the device objects delcared in the DSDT at soc/intel/skylake/acpi/*.

The skylake implementation uses a global acpi_name handler for the SOC and it is not necessary to add a function to every device.

This function is used by device drivers calling acpi_device_name() and acpi_device_path() to generate ACPI AML in the SSDT.

Change-Id: I31cecf7905a51224e7bfc40c6c4ad2487f039097

2f6fb9f skylake: Add ACPI device name handler
src/soc/intel/skylake/chip.c | 69 ++++++++++++++++++++++++++
src/soc/intel/skylake/include/soc/ramstage.h | 1 +
2 files changed, 70 insertions(+)

Upstream: review.coreboot.org


  • Share