summaryrefslogtreecommitdiff
path: root/gnat.adc
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2018-05-07 14:28:53 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-05-28 16:08:23 +0000
commit4702914e34a1cd3dc04f1396d549a120918abb58 (patch)
tree38de493f80ae98f6eb519c8fa66af4f942505f44 /gnat.adc
parent696545db7bf3dd2682a1d636db5411fe0e7c0c54 (diff)
acpi: device: Walk up the tree to find identifier
Instead of just checking the immediate parent for an device name, walk up the tree to check if any parent can identify the device. This allows devices to be nested more than one level deep and still have them identified in one place by the SOC. The recursive method calling this function has been changed to handle a null return from acpi_device_name and abort instead of continuing and perhaps forming an invalid ACPI path. Change-Id: Ic17c5b6facdcb1a0ac696912867d62652b2bf18e Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/26487 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'gnat.adc')
0 files changed, 0 insertions, 0 deletions