arm64: efi: add EFI stub
authorMark Salter <msalter@redhat.com>
Wed, 16 Apr 2014 02:47:52 +0000 (22:47 -0400)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 30 Apr 2014 18:57:04 +0000 (19:57 +0100)
commit3c7f255039a2ad6ee1e3890505caf0d029b22e29
tree30fdbf23554e3a4aaf7ebd082f96aa71ec6a54c5
parente1977464e8403b4d7ed23d6bdb3358e78b311aa0
arm64: efi: add EFI stub

This patch adds PE/COFF header fields to the start of the kernel
Image so that it appears as an EFI application to UEFI firmware.
An EFI stub is included to allow direct booting of the kernel
Image.

Signed-off-by: Mark Salter <msalter@redhat.com>
[Add support in PE/COFF header for signed images]
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/arm64/Kconfig
arch/arm64/kernel/Makefile
arch/arm64/kernel/efi-entry.S [new file with mode: 0644]
arch/arm64/kernel/efi-stub.c [new file with mode: 0644]
arch/arm64/kernel/head.S
drivers/firmware/efi/arm-stub.c [new file with mode: 0644]