summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2024-01-17 05:43:08 +0100
committerHuacai Chen <chenhuacai@loongson.cn>2024-01-17 05:43:08 +0100
commit9499daeade0edcbd3d5d20ffdd642a8e3a194b1f (patch)
tree3479161cfbea0bd17c207031e5b0f81c7217f1af
parentLoongArch: Parsing CPU-related information from DTS (diff)
downloadlinux-9499daeade0edcbd3d5d20ffdd642a8e3a194b1f.tar.xz
linux-9499daeade0edcbd3d5d20ffdd642a8e3a194b1f.zip
LoongArch: Add a missing call to efi_esrt_init()
ESRT (EFI System Resource Table) is needed for UEFI's "Capsule Update" feature. But ESRT initialization is missing on LoongArch now, so add a call to efi_esrt_init() at the end of efi_init(). Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
-rw-r--r--arch/loongarch/kernel/efi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/loongarch/kernel/efi.c b/arch/loongarch/kernel/efi.c
index acb5d3385675..000825406c1f 100644
--- a/arch/loongarch/kernel/efi.c
+++ b/arch/loongarch/kernel/efi.c
@@ -140,4 +140,6 @@ void __init efi_init(void)
early_memunmap(tbl, sizeof(*tbl));
}
+
+ efi_esrt_init();
}