From e56e1bcbfcca891f6adb852544f5449dda19b857 Mon Sep 17 00:00:00 2001 From: Steffen Trumtrar Date: Mon, 10 Jul 2017 12:33:54 +0200 Subject: efi: efi: register barebox-update handler Signed-off-by: Steffen Trumtrar Signed-off-by: Lucas Stach --- common/efi/efi.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common') diff --git a/common/efi/efi.c b/common/efi/efi.c index 3423c8acfe..4b42f5d676 100644 --- a/common/efi/efi.c +++ b/common/efi/efi.c @@ -42,6 +42,7 @@ #include #include #include +#include efi_runtime_services_t *RT; efi_boot_services_t *BS; @@ -382,6 +383,9 @@ static int efi_postcore_init(void) free(uuid16); } + bbu_register_std_file_update("fat", 0, "/boot/EFI/BOOT/BOOTx64.EFI", + filetype_exe); + return 0; } postcore_initcall(efi_postcore_init); -- cgit v1.2.3