]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Don't duplicate global_ptr in 64-bit EFI app
authorSimon Glass <sjg@chromium.org>
Thu, 4 Nov 2021 03:09:08 +0000 (21:09 -0600)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 7 Nov 2021 17:36:55 +0000 (18:36 +0100)
commit7ba2ed2889da93e6b84f6604daad3d2a867fda1d
treed0679ff57c96f4164b170c07b071d64016ef12d9
parent83a17aa6a4cc51b9381c984591f8a2ada7e694ae
x86: Don't duplicate global_ptr in 64-bit EFI app

This variable is already defined by the EFI code. Drop the duplicate
definition when building a 64-bit EFI app.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/x86/cpu/x86_64/cpu.c
arch/x86/cpu/x86_64/misc.c
lib/efi/efi.c