x86: Create a new header for EFI
authorSimon Glass <sjg@chromium.org>
Sat, 25 Sep 2021 00:30:20 +0000 (18:30 -0600)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 21 Oct 2021 01:46:03 +0000 (03:46 +0200)
commite70be676ebc718b7d12caf56b24e8db383ccee62
treee538f5edfd9e5f4395766fa2325421c812f840e4
parent8d76744e50115ee4fa94ace1f15103b0d1cfe3fb
x86: Create a new header for EFI

The setup routines are called from zimage but don't really belong in the
zimage header. Add a new EFI header to house these. Add comments so it is
clear what the functions do.

Note that these functions are x86-specific. The zimage business is not
used on other architectures.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/x86/include/asm/efi.h [new file with mode: 0644]
arch/x86/include/asm/zimage.h
arch/x86/lib/zimage.c