summaryrefslogtreecommitdiff
path: root/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0034-efi_boottime-allow-to-reset-a-path-after-boot.patch
blob: 5c053974d15a57ba14689328a0ca331dc45656e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From eb8e224290149fd39ca4b3a774abef2e31237943 Mon Sep 17 00:00:00 2001
From: Rui Miguel Silva <rui.silva@linaro.org>
Date: Wed, 1 Feb 2023 16:11:25 +0000
Subject: [PATCH 34/42] efi_boottime: allow to reset a path after boot

Allow to install multiple protocol interfaces in an
already installed root interface.
This may need to be fix in other way, but for now
looks like the get away fix.

Upstream-Status: Pending
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
---
 lib/efi_loader/efi_boottime.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index fea4eb7a34..90f43ff9a6 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -2669,7 +2669,6 @@ efi_install_multiple_protocol_interfaces_int(efi_handle_t *handle,
 				EFI_PRINT("Path %pD already installed\n",
 					  protocol_interface);
 				ret = EFI_ALREADY_STARTED;
-				break;
 			}
 		}
 		ret = EFI_CALL(efi_install_protocol_interface(handle, protocol,
-- 
2.25.1