u-boot/arch/x86
Heinrich Schuchardt f4cf153a48 efi_loader: correctly set the machine type in the PE header
The portable executable header has a field describing the machine type.
The machine type should match the binary. So on i386 we should use
IMAGE_FILE_MACHINE_I386 and on x86_64 we should use
IMAGE_FILE_MACHINE_AMD64. The actual value is issued by the objcopy
command invoked in scripts/Makefile.lib in depdendence of the value of
EFI_TARGET.

The value is used both for EFI_STUB and for EFI_LOADER.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-04-09 10:20:59 +02:00
..
cpu libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
dts x86: braswell: cherryhill: Update dts for SPI lock down 2017-10-27 15:13:47 +08:00
include/asm x86: zImage: Pass working device tree data to the kernel 2018-03-30 16:06:58 +08:00
lib x86: zImage: Pass working device tree data to the kernel 2018-03-30 16:06:58 +08:00
config.mk efi_loader: correctly set the machine type in the PE header 2018-04-09 10:20:59 +02:00
Kconfig pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2017-11-17 07:43:32 -05:00
Makefile x86: Add 64-bit start-up code 2017-02-06 11:38:46 +08:00