summaryrefslogtreecommitdiff
path: root/include/acpi/acpigen.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-07 13:11:56 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-07-17 14:32:24 +0800
commit0e5a0a00d6e44dc0c7e1466ceb3e452b43ceeb1b (patch)
treedf19c9ee9a3d00dc9acb646541dcd7ad7d250287 /include/acpi/acpigen.h
parent29df845204e6b67583491b3c9883432c3a74d923 (diff)
downloadu-boot-0e5a0a00d6e44dc0c7e1466ceb3e452b43ceeb1b.tar.gz
acpi: Support writing Device Properties objects via _DSD
More complex device properties can be provided to drivers via a device-specific data (_DSD) object. To create this we need to build it up in a separate data structure and then generate the ACPI code, due to its recursive nature. Add an implementation of this. 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>
Diffstat (limited to 'include/acpi/acpigen.h')
-rw-r--r--include/acpi/acpigen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/acpigen.h b/include/acpi/acpigen.h
index 31fa20a806..b10226f8f8 100644
--- a/include/acpi/acpigen.h
+++ b/include/acpi/acpigen.h
@@ -31,6 +31,7 @@ enum {
PACKAGE_OP = 0x12,
DUAL_NAME_PREFIX = 0x2e,
MULTI_NAME_PREFIX = 0x2f,
+ ROOT_PREFIX = 0x5c,
};
/**