ARM: add UEFI stub support
authorRoy Franz <roy.franz@linaro.org>
Thu, 24 Sep 2015 03:17:54 +0000 (20:17 -0700)
committerard <ard.biesheuvel@linaro.org>
Mon, 14 Dec 2015 09:38:21 +0000 (10:38 +0100)
commit81a0bc39ea1960bbf8ece6a895d7cfd2d9efa28a
tree58f4c5c73cc4292b242dce2e0018511f9e18e39e
parentda58fb6571bf40e5b2287d6aa3bbca04965f5677
ARM: add UEFI stub support

This patch adds EFI stub support for the ARM Linux kernel.

The EFI stub operates similarly to the x86 and arm64 stubs: it is a
shim between the EFI firmware and the normal zImage entry point, and
sets up the environment that the zImage is expecting. This includes
optionally loading the initrd and device tree from the system partition
based on the kernel command line.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
arch/arm/Kconfig
arch/arm/boot/compressed/Makefile
arch/arm/boot/compressed/efi-header.S [new file with mode: 0644]
arch/arm/boot/compressed/head.S
arch/arm/boot/compressed/vmlinux.lds.S
arch/arm/include/asm/efi.h
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/arm-stub.c
drivers/firmware/efi/libstub/arm32-stub.c [new file with mode: 0644]