]> git.baikalelectronics.ru Git - uboot.git/commit
acpi: Add a function to get a device path and scope
authorSimon Glass <sjg@chromium.org>
Tue, 7 Jul 2020 19:11:39 +0000 (13:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commitdc6cb10e05bdbf5f124a81dd2f725410209364f2
tree628a4f293065b7b549edadc42868d10a190d8019
parentb79a519c447a3d50ceec1eeabe11f908d0a4f540
acpi: Add a function to get a device path and scope

Add a function to build up the ACPI path for a device and another for its
scope.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/dts/test.dts
include/acpi/acpi_device.h [new file with mode: 0644]
lib/acpi/Makefile
lib/acpi/acpi_device.c [new file with mode: 0644]
test/dm/acpi.c