diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-07 21:32:10 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-07-17 14:32:24 +0800 |
commit | 82659cc91014df7dfcc55474c1657d1c9b6fe957 (patch) | |
tree | 6f265db5df0bbbb26f89bf67f383aa95e555ae93 /test/dm/acpi.h | |
parent | fea9651084e72fe94aefa0b828854ef5ce2835b4 (diff) | |
download | u-boot-82659cc91014df7dfcc55474c1657d1c9b6fe957.tar.gz u-boot-82659cc91014df7dfcc55474c1657d1c9b6fe957.tar.bz2 u-boot-82659cc91014df7dfcc55474c1657d1c9b6fe957.zip |
acpi: Support generation of a scope
Add a function to write a scope to the generated ACPI code.
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>
[bmeng: Fix build failures on Sandbox]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'test/dm/acpi.h')
-rw-r--r-- | test/dm/acpi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dm/acpi.h b/test/dm/acpi.h index 885dff85d3..535db56b51 100644 --- a/test/dm/acpi.h +++ b/test/dm/acpi.h @@ -9,6 +9,9 @@ #ifndef __TEST_DM_ACPI_H #define __TEST_DM_ACPI_H +#define ACPI_TEST_DEV_NAME "ABCD" +#define ACPI_TEST_CHILD_NAME "EFGH" + /** * acpi_test_alloc_context_size() - Allocate an ACPI context of a given size * |