diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-11-30 15:28:19 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-12-09 19:57:23 +0300 |
commit | f7d924894265794f447ea799dd853400749b5a22 (patch) | |
tree | e15ce9a1d56a77e81fa409bd98e4a9e4610f64e3 /drivers/firmware/efi/efi.c | |
parent | e5bc22a42e4d46cc203fdfb6d2c76202b08666a0 (diff) | |
download | linux-f7d924894265794f447ea799dd853400749b5a22.tar.xz |
arm64/efi: refactor EFI init and runtime code for reuse by 32-bit ARM
This refactors the EFI init and runtime code that will be shared
between arm64 and ARM so that it can be built for both archs.
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/firmware/efi/efi.c')
-rw-r--r-- | drivers/firmware/efi/efi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index 027ca212179f..cffa89b3317b 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -25,6 +25,8 @@ #include <linux/io.h> #include <linux/platform_device.h> +#include <asm/efi.h> + struct efi __read_mostly efi = { .mps = EFI_INVALID_TABLE_ADDR, .acpi = EFI_INVALID_TABLE_ADDR, |