x86: efi: Don't set up global_data again with EFI
authorSimon Glass <sjg@chromium.org>
Wed, 29 Dec 2021 18:57:54 +0000 (11:57 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 31 Dec 2021 06:37:48 +0000 (07:37 +0100)
commit86bb48880d75653d692cd02edb81888a2ed2dbb2
tree5e4efe9805e01a7d11b75b2b6b7e997564fad942
parent40b172314bb68886fce409efbd4db7cbe9d0926a
x86: efi: Don't set up global_data again with EFI

Since EFI does not relocate and uses the same global_data pointer
throughout the board-init process, drop this unnecessary setup, to avoid
a hang.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
common/board_r.c