diff options
author | Simon Glass <sjg@chromium.org> | 2020-04-26 18:19:53 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-04-30 12:16:12 +0300 |
commit | 0b885bcfd9b06943bf3dc3102f95961826b04f18 (patch) | |
tree | f34b9a624f440ffb287998260d56f370c0a224aa /arch/sandbox/include | |
parent | b38309b7375e2fa6d99c14f4abd84985dc932ff1 (diff) | |
download | u-boot-0b885bcfd9b06943bf3dc3102f95961826b04f18.tar.xz |
acpi: Add an acpi command
It is useful to dump ACPI tables in U-Boot to see what has been generated.
Add a command to handle this.
To allow the command to find the tables, add a position into the global
data.
Support subcommands to list and dump the tables.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Diffstat (limited to 'arch/sandbox/include')
-rw-r--r-- | arch/sandbox/include/asm/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h index f4ce72d566..f95ddb058a 100644 --- a/arch/sandbox/include/asm/global_data.h +++ b/arch/sandbox/include/asm/global_data.h @@ -13,6 +13,7 @@ struct arch_global_data { uint8_t *ram_buf; /* emulated RAM buffer */ void *text_base; /* pointer to base of text region */ + ulong acpi_start; /* Start address of ACPI tables */ }; #include <asm-generic/global_data.h> |