nb/intel/sandybridge: Fill in acpi_name
commit3e47fc9e94089476fcef4fcafa8547cbb693316b
authorPatrick Rudolph <siro@das-labor.org>
Wed, 7 Jun 2017 07:44:07 +0000 (7 09:44 +0200)
committerMartin Roth <martinroth@google.com>
Tue, 27 Jun 2017 16:09:18 +0000 (27 16:09 +0000)
tree9b5016ac85e7ac31579460173718762e974f5ec1
parent33906d2347e6cd32a7dd4cda1f7bd27b2d660241
nb/intel/sandybridge: Fill in acpi_name

Fill in acpi_name to return proper ACPI names. To be used with
SSDT generators.

The ACPI names have to match those already used in ASL code.
By providing the ACPI name it can be retrieved by the
acpi_device_name() method and doesn't need to be hardcoded in
SSDT generators any more.

GFX0 is used in drivers/intel/gma/acpi/pch.asl.
MCHC is used in nb/intel/sandybridge/acpi/hostbridge.asl.

Change-Id: I19526e334a9c5435fdb19419a671b86c5f6b2be9
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/20085
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
src/northbridge/intel/sandybridge/gma.c
src/northbridge/intel/sandybridge/northbridge.c