diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2016-05-16 12:53:12 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@google.com> | 2016-05-21 06:00:38 +0200 |
commit | 2f6fb9f5f9b972fc1f19cc743e9d75ede15e5f02 (patch) | |
tree | 632fb990f052ad5215318bc5f5e64cfc2fae00f6 /src/soc/intel/skylake/include | |
parent | d9af3cecaedeb3579bc7afcde586477827095f73 (diff) |
skylake: Add ACPI device name handler
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
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/14841
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc/intel/skylake/include')
-rw-r--r-- | src/soc/intel/skylake/include/soc/ramstage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/include/soc/ramstage.h b/src/soc/intel/skylake/include/soc/ramstage.h index 2cd2d16050..55f9972e4a 100644 --- a/src/soc/intel/skylake/include/soc/ramstage.h +++ b/src/soc/intel/skylake/include/soc/ramstage.h @@ -24,6 +24,7 @@ void pch_enable_dev(device_t dev); void soc_init_pre_device(void *chip_info); void soc_init_cpus(device_t dev); +const char *soc_acpi_name(struct device *dev); extern struct pci_operations soc_pci_ops; |