diff mbox

[13/29] efi/arm*: esrt: Add missing call to efi_esrt_init()

Message ID 20160909151851.27577-14-matt@codeblueprint.co.uk
State Accepted
Commit 2ead3084e3fc37d42f379cca8753b458d8f9ba25
Headers show

Commit Message

Matt Fleming Sept. 9, 2016, 3:18 p.m. UTC
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>


ESRT support is built by default for all architectures that define
CONFIG_EFI. However, this support was not wired up yet for ARM/arm64,
since efi_esrt_init() was never called. So add the missing call.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Jones <pjones@redhat.com>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>

---
 drivers/firmware/efi/arm-init.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.9.3
diff mbox

Patch

diff --git a/drivers/firmware/efi/arm-init.c b/drivers/firmware/efi/arm-init.c
index 5a2df3fefccc..e0a511d4074f 100644
--- a/drivers/firmware/efi/arm-init.c
+++ b/drivers/firmware/efi/arm-init.c
@@ -247,6 +247,7 @@  void __init efi_init(void)
 
 	reserve_regions();
 	efi_memattr_init();
+	efi_esrt_init();
 	efi_memmap_unmap();
 
 	memblock_reserve(params.mmap & PAGE_MASK,