u-boot/arch
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
..
arc ARC: bootm: Refactor GO and PREP subcommands implementation 2018-03-23 15:57:51 +03:00
arm arm: print information about loaded UEFI images 2018-04-05 15:24:01 +02:00
m68k Convert CONFIG_SYS_BOOT_GET_{CMDLINE, KBD} to Kconfig 2018-01-30 12:52:57 -05:00
microblaze fdt: Implement weak arch_fixup_fdt() 2018-02-18 12:53:38 -07:00
mips mips: bmips: add ar-5315 usb support 2018-03-21 23:23:13 +01:00
nds32 Drop CONFIG_FTSDC010_BASE 2018-03-30 13:13:45 +08:00
nios2 nios2: 10m50: Add CPU pre-relocation in device tree 2017-11-17 10:51:24 -05:00
powerpc ppc: Remove orphan xilinx_irq.h file 2018-03-16 14:54:14 -04:00
riscv riscv: ae250: Support DT provided by the board at runtime 2018-03-30 13:13:56 +08:00
sandbox core: ofnode: Fix translation for #size-cells == 0 2018-04-01 22:19:10 +08:00
sh sh: Do not provide strncmp 2018-02-23 00:06:05 +01:00
x86 efi_loader: correctly set the machine type in the PE header 2018-04-09 10:20:59 +02:00
xtensa xtensa: clean up CONFIG_SYS_TEXT_ADDR 2018-02-23 10:21:41 -05:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00