From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dUW1P-0005wB-FV for barebox@lists.infradead.org; Mon, 10 Jul 2017 10:34:33 +0000 From: Steffen Trumtrar Date: Mon, 10 Jul 2017 12:33:54 +0200 Message-Id: <20170710103355.15652-8-s.trumtrar@pengutronix.de> In-Reply-To: <20170710103355.15652-1-s.trumtrar@pengutronix.de> References: <20170710103355.15652-1-s.trumtrar@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 8/9] efi: efi: register barebox-update handler To: barebox@lists.infradead.org Cc: Steffen Trumtrar Signed-off-by: Steffen Trumtrar --- 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 #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); -- 2.11.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox