aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/arm-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware/efi/arm-init.c')
-rw-r--r--drivers/firmware/efi/arm-init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/firmware/efi/arm-init.c b/drivers/firmware/efi/arm-init.c
index 90a9b473e45c..a84dddb54c14 100644
--- a/drivers/firmware/efi/arm-init.c
+++ b/drivers/firmware/efi/arm-init.c
@@ -198,6 +198,10 @@ void __init efi_init(void)
198 efi.memmap.desc_size = params.desc_size; 198 efi.memmap.desc_size = params.desc_size;
199 efi.memmap.desc_version = params.desc_ver; 199 efi.memmap.desc_version = params.desc_ver;
200 200
201 WARN(efi.memmap.desc_version != 1,
202 "Unexpected EFI_MEMORY_DESCRIPTOR version %ld",
203 efi.memmap.desc_version);
204
201 if (uefi_init() < 0) 205 if (uefi_init() < 0)
202 return; 206 return;
203 207