From: Simon Glass Date: Sun, 16 Jul 2023 03:38:50 +0000 (-0600) Subject: qfw: Set the address of the ACPI tables X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=854624c277295fe6c2de66c08750442969b5e584;p=u-boot.git qfw: Set the address of the ACPI tables Once the ACPI tables have been set up, record their address so that it is possible to list them with 'acpi list'. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/drivers/misc/qfw.c b/drivers/misc/qfw.c index 9ef95caa89..0a93feeb4b 100644 --- a/drivers/misc/qfw.c +++ b/drivers/misc/qfw.c @@ -18,6 +18,7 @@ #include #include #include +#include #if defined(CONFIG_GENERATE_ACPI_TABLE) && !defined(CONFIG_SANDBOX) /* @@ -227,6 +228,9 @@ out: } free(table_loader); + + gd_set_acpi_start(acpi_get_rsdp_addr()); + return addr; }