1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-07 04:58:57 +00:00

arm-bsp/u-boot: corstone1000: Fix EFI multiple protocol install failure

From: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>

The patch fixes the ACS InstallMultipleProtocolInterfaces_Conf failures
in corstone1000 platform by dropping a workaround u-boot patch. The NVMXIP
initialization had some issues during u-boot boot stage which led to the
workaround patch.

Upstream-Status: Pending [Not submitted to upstream yet]
Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Emekcan Aras
2023-06-22 14:08:29 +01:00
committed by Jon Mason
parent 782ea3cd16
commit 1cdc2fc2fb
10 changed files with 8 additions and 40 deletions
@@ -1,31 +0,0 @@
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
@@ -51,15 +51,14 @@ SRC_URI:append:corstone1000 = " \
file://0031-corstone1000-add-NVM-XIP-QSPI-device-tree-node.patch \
file://0032-sandbox64-add-a-test-case-for-UCLASS_NVMXIP.patch \
file://0033-corstone1000-add-fwu-metadata-store-info.patch \
file://0034-efi_boottime-allow-to-reset-a-path-after-boot.patch \
file://0035-fwu_metadata-make-sure-structures-are-packed.patch \
file://0036-corstone1000-add-boot-index.patch \
file://0037-corstone1000-adjust-boot-bank-and-kernel-location.patch \
file://0038-corstone1000-add-nvmxip-fwu-mdata-and-gpt-options.patch \
file://0039-nvmxip-move-header-to-include.patch \
file://0040-corstone1000-set-kernel_addr-based-on-boot_idx.patch \
file://0041-corstone1000-boot-index-from-active.patch \
file://0042-corstone1000-enable-PSCI-reset.patch \
file://0034-fwu_metadata-make-sure-structures-are-packed.patch \
file://0035-corstone1000-add-boot-index.patch \
file://0036-corstone1000-adjust-boot-bank-and-kernel-location.patch \
file://0037-corstone1000-add-nvmxip-fwu-mdata-and-gpt-options.patch \
file://0038-nvmxip-move-header-to-include.patch \
file://0039-corstone1000-set-kernel_addr-based-on-boot_idx.patch \
file://0040-corstone1000-boot-index-from-active.patch \
file://0041-corstone1000-enable-PSCI-reset.patch \
"
#