mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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>
This commit is contained in:
@@ -240,6 +240,7 @@ void acpi_setup_base_tables(struct acpi_ctx *ctx, void *start)
|
||||
|
||||
/* Align ACPI tables to 16 byte */
|
||||
acpi_align(ctx);
|
||||
gd->arch.acpi_start = map_to_sysmem(ctx->current);
|
||||
|
||||
/* We need at least an RSDP and an RSDT Table */
|
||||
ctx->rsdp = ctx->current;
|
||||
|
Reference in New Issue
Block a user