]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: Support generating a multi-function _DSM for devices
authorSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:44:58 +0000 (12:44 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:14 +0000 (11:27 +0800)
commit88490e197903f6961cf2ee79d0ff8f0727155f27
tree85ba227fc1fc17f47666a92c20c9844f40b0ce85
parentda7cff338f08cf43706a96bcd8cf398b7fb6ae2d
acpi: Support generating a multi-function _DSM for devices

Add a function to generate ACPI code for a _DSM method for a device.
This includes functions for starting and ending each part of the _DSM.

Signed-off-by: Simon Glass <sjg@chromium.org>
[bmeng: fix the "new blank line at EOF" git warning]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
include/acpi/acpi_device.h
include/acpi/acpigen.h
lib/acpi/acpi_device.c
lib/acpi/acpigen.c
test/dm/acpigen.c