summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-12-19 16:04:03 +0100
committerSimon Glass <sjg@chromium.org>2024-01-07 13:49:15 -0700
commitb7d029bb8ac0768e922b0de4dcedc38bccfd8545 (patch)
tree6d5347e5afc202ea859eda740f059416600dc890 /arch
parent22fcd1da5511cef43ca2252c1d7b66c99416f0fd (diff)
downloadu-boot-b7d029bb8ac0768e922b0de4dcedc38bccfd8545.tar.gz
u-boot-b7d029bb8ac0768e922b0de4dcedc38bccfd8545.tar.bz2
u-boot-b7d029bb8ac0768e922b0de4dcedc38bccfd8545.zip
riscv: add ACPI fields to global data
Add fields for the location of ACPI tables to the global data. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/include/asm/global_data.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h
index d00247ad95..593d9276d3 100644
--- a/arch/riscv/include/asm/global_data.h
+++ b/arch/riscv/include/asm/global_data.h
@@ -33,6 +33,12 @@ struct arch_global_data {
ulong available_harts;
#endif
#endif
+#if CONFIG_IS_ENABLED(ACPI)
+ ulong table_start; /* Start address of ACPI tables */
+ ulong table_end; /* End address of ACPI tables */
+ ulong table_start_high; /* Start address of high ACPI tables */
+ ulong table_end_high; /* End address of high ACPI tables */
+#endif
#ifdef CONFIG_SMBIOS
ulong smbios_start; /* Start address of SMBIOS table */
#endif