]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea3e289d6ae9dda948f6f1621cc2af0d5009c0a1
tree58f4c5c73cc4292b242dce2e0018511f9e18e39e
parent89822032afea4088281af53f4d97ae2ba702be18
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]