]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: efi: Tweak the code used for the 64-bit EFI app
authorSimon Glass <sjg@chromium.org>
Tue, 4 Jan 2022 10:51:13 +0000 (03:51 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 15 Jan 2022 09:57:22 +0000 (10:57 +0100)
commit450ce56a118975364437cc466ec804d8ded75d29
tree33ad43f3e1665afb4515d777ca096fd29dca4746
parent25a326b0066b3c449a0a91889b0ce19cb7320237
x86: efi: Tweak the code used for the 64-bit EFI app

Add an empty CPU init function to avoid fiddling with low-level CPU
features in the app. Set up the C runtime correctly for 64-bit use
and avoid clearing BSS, since this is done by EFI when U-Boot is loaded.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/x86_64/cpu.c
arch/x86/lib/Makefile
arch/x86/lib/relocate.c