]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: Add a way to check device status
authorSimon Glass <sjg@chromium.org>
Tue, 7 Jul 2020 19:11:40 +0000 (13:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit2715b3623c08bf1ad2dfe6076ad86c24e3138016
tree9b94a2499392579322f5c250e83b1a82b131c1f8
parent1361a53c1ae1f0534825e12ed41fb44aefd2c224
acpi: Add a way to check device status

At present U-Boot does not support the different ACPI status values, but
it is best to put this logic in a central place. Add a function to get the
device status.

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>
include/acpi/acpi_device.h
lib/acpi/acpi_device.c
test/dm/acpi.c