
On Tue, 19 Dec 2023 at 17:04, Heinrich Schuchardt heinrich.schuchardt@canonical.com wrote:
Add fields for the location of ACPI tables to the global data.
Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
v4: no change v3: let tables in global data depend on CONFIG_(SPL_)ACPI v2: new patch
arch/arm/include/asm/global_data.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index 75bd9d56f8..c3d87caa0b 100644 --- a/arch/arm/include/asm/global_data.h +++ b/arch/arm/include/asm/global_data.h @@ -19,7 +19,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
2.40.1
Reviewed-by: Ilias Apalodimas ilias.apalodimas@linaro.org