
6 Nov
2020
6 Nov
'20
2:55 a.m.
On Thu, Nov 5, 2020 at 9:24 PM Simon Glass sjg@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@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!