]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: add ACPI fields to global data
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 19 Dec 2023 15:04:02 +0000 (16:04 +0100)
committerSimon Glass <sjg@chromium.org>
Sun, 7 Jan 2024 20:49:15 +0000 (13:49 -0700)
Add fields for the location of ACPI tables to the global data.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/global_data.h

index 2bb978d668396081c36914359d51c7cdb7457800..452bcd1b8fd91d42f62f69e4a624d3c458320064 100644 (file)
@@ -18,7 +18,12 @@ struct arch_global_data {
 #if defined(CONFIG_FSL_ESDHC) || defined(CONFIG_FSL_ESDHC_IMX)
        u32 sdhc_clk;
 #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
 #if defined(CONFIG_FSL_ESDHC)
        u32 sdhc_per_clk;
 #endif