efi/arm*: esrt: Add missing call to efi_esrt_init()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 11 Jul 2016 19:00:46 +0000 (21:00 +0200)
committerMatt Fleming <matt@codeblueprint.co.uk>
Fri, 9 Sep 2016 15:08:40 +0000 (16:08 +0100)
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

index 5a2df3fefcccf34e58882130c4eea77638e11bd3..e0a511d4074fac11ec9c4ad78a64f86cd3e1dc26 100644 (file)
@@ -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,