aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorSimon Glass2023-07-15 21:38:50 -0600
committerBin Meng2023-07-17 17:12:07 +0800
commit854624c277295fe6c2de66c08750442969b5e584 (patch)
tree96eda44036bd982a027b2292443e87e49f5efff9 /drivers/misc
parentf98caa6ae3864451b38c52c6be17e6e53b6685ac (diff)
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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/qfw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/qfw.c b/drivers/misc/qfw.c
index 9ef95caa895..0a93feeb4b2 100644
--- a/drivers/misc/qfw.c
+++ b/drivers/misc/qfw.c
@@ -18,6 +18,7 @@
#include <dm.h>
#include <misc.h>
#include <tables_csum.h>
+#include <asm/acpi_table.h>
#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;
}