diff mbox series

[5/7] MIPS: Add smbios_start to arch_global_data

Message ID 20240517-mips-efi-v1-5-79096e3ca3b3@flygoat.com
State Changes Requested, archived
Delegated to: Heinrich Schuchardt
Headers show
Series MIPS: Enable EFI support | expand

Commit Message

Jiaxun Yang May 17, 2024, 4:32 p.m. UTC
This is necessary for SMBIOS to build on MIPS.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
 arch/mips/include/asm/global_data.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Ilias Apalodimas June 11, 2024, 1:32 p.m. UTC | #1
On Fri, 17 May 2024 at 19:33, Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
>
> This is necessary for SMBIOS to build on MIPS.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
>  arch/mips/include/asm/global_data.h | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/mips/include/asm/global_data.h b/arch/mips/include/asm/global_data.h
> index 147a95ecea8b..740bbcdb84e9 100644
> --- a/arch/mips/include/asm/global_data.h
> +++ b/arch/mips/include/asm/global_data.h
> @@ -40,6 +40,9 @@ struct arch_global_data {
>  #ifdef CONFIG_ARCH_OCTEON
>         struct octeon_eeprom_mac_addr mac_desc;
>  #endif
> +#ifdef CONFIG_SMBIOS
> +       ulong smbios_start;             /* Start address of SMBIOS table */
> +#endif
>  };
>
>  #include <asm-generic/global_data.h>
>
> --
> 2.34.1
>

Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
diff mbox series

Patch

diff --git a/arch/mips/include/asm/global_data.h b/arch/mips/include/asm/global_data.h
index 147a95ecea8b..740bbcdb84e9 100644
--- a/arch/mips/include/asm/global_data.h
+++ b/arch/mips/include/asm/global_data.h
@@ -40,6 +40,9 @@  struct arch_global_data {
 #ifdef CONFIG_ARCH_OCTEON
 	struct octeon_eeprom_mac_addr mac_desc;
 #endif
+#ifdef CONFIG_SMBIOS
+	ulong smbios_start;		/* Start address of SMBIOS table */
+#endif
 };
 
 #include <asm-generic/global_data.h>