[PATCH] fixup: x86: Add missing global_data declaration in tables
Bin Meng
bmeng.cn at gmail.com
Fri Nov 6 02:55:32 CET 2020
On Thu, Nov 5, 2020 at 9:24 PM Simon Glass <sjg at chromium.org> wrote:
>
> This file needs to use the global data pointer. Add the required
> declaration.
>
> This is a fixup patch for the following:
>
> 09218442ca7 x86: Allow putting some tables in the bloblist
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> arch/x86/lib/tables.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c
> index 8dc07868c1f..c4007fa4866 100644
> --- a/arch/x86/lib/tables.c
> +++ b/arch/x86/lib/tables.c
> @@ -14,6 +14,8 @@
> #include <asm/tables.h>
> #include <asm/coreboot_tables.h>
>
> +DECLARE_GLOBAL_DATA_PTR;
> +
> /**
> * Function prototype to write a specific configuration table
> *
> --
squashed in the following commit:
09218442ca7 x86: Allow putting some tables in the bloblist
applied to u-boot-x86, thanks!
More information about the U-Boot
mailing list