From: Heinrich Schuchardt Date: Tue, 19 Dec 2023 15:04:03 +0000 (+0100) Subject: riscv: add ACPI fields to global data X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=b7d029bb8ac0768e922b0de4dcedc38bccfd8545;p=u-boot.git riscv: add ACPI fields to global data Add fields for the location of ACPI tables to the global data. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- 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