diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-09-24 22:49:52 +0200 |
---|---|---|
committer | ard <ard.biesheuvel@linaro.org> | 2015-12-13 19:18:30 +0100 |
commit | da58fb6571bf40e5b2287d6aa3bbca04965f5677 (patch) | |
tree | c12a192ebd7969626e4ab79d46360779cd6f9b93 /arch/arm/kernel/setup.c | |
parent | ARM: only consider memblocks with NOMAP cleared for linear mapping (diff) | |
download | linux-da58fb6571bf40e5b2287d6aa3bbca04965f5677.tar.xz linux-da58fb6571bf40e5b2287d6aa3bbca04965f5677.zip |
ARM: wire up UEFI init and runtime support
This adds support to the kernel proper for booting via UEFI. It shares
most of the code with arm64, so this patch mostly just wires it up for
use with ARM.
Note that this does not include the EFI stub, it is added in a subsequent
patch.
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>
Diffstat (limited to 'arch/arm/kernel/setup.c')
-rw-r--r-- | arch/arm/kernel/setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 5df2bca57c42..b341b1c3b2fa 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -7,6 +7,7 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ +#include <linux/efi.h> #include <linux/export.h> #include <linux/kernel.h> #include <linux/stddef.h> @@ -37,6 +38,7 @@ #include <asm/cp15.h> #include <asm/cpu.h> #include <asm/cputype.h> +#include <asm/efi.h> #include <asm/elf.h> #include <asm/early_ioremap.h> #include <asm/fixmap.h> @@ -966,6 +968,7 @@ void __init setup_arch(char **cmdline_p) early_paging_init(mdesc); #endif setup_dma_zone(mdesc); + efi_init(); sanity_check_meminfo(); arm_memblock_init(mdesc); |