skylake: Add ACPI device name handler
commit2f6fb9f5f9b972fc1f19cc743e9d75ede15e5f02
authorDuncan Laurie <dlaurie@chromium.org>
Mon, 16 May 2016 19:53:12 +0000 (16 12:53 -0700)
committerDuncan Laurie <dlaurie@google.com>
Sat, 21 May 2016 04:00:38 +0000 (21 06:00 +0200)
tree632fb990f052ad5215318bc5f5e64cfc2fae00f6
parentd9af3cecaedeb3579bc7afcde586477827095f73
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)
src/soc/intel/skylake/chip.c
src/soc/intel/skylake/include/soc/ramstage.h