[PATCH 8/8] efi: efi: register barebox-update handler
Steffen Trumtrar
s.trumtrar at pengutronix.de
Wed Jul 5 03:56:37 PDT 2017
Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
common/efi/efi.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/common/efi/efi.c b/common/efi/efi.c
index cc3051dedae9..2c3ad33976c4 100644
--- a/common/efi/efi.c
+++ b/common/efi/efi.c
@@ -42,6 +42,7 @@
#include <efi/efi-device.h>
#include <libfile.h>
#include <state.h>
+#include <bbu.h>
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);
--
2.11.0
More information about the barebox
mailing list