mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-04-20 11:29:54 +00:00
arm-bsp/u-boot:cs1k: Remove broken patch
The removed patch file breaks the U-Boot efi_selftest utility and has been denied by upstream in any event. All subsequent patches renumbered. Signed-off-by: Frazer Carsley <frazer.carsley@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
0a8d300b52
commit
7ab5353f1c
@@ -58,25 +58,24 @@ SRC_URI:append = " \
|
||||
# Purging device tree nodes
|
||||
SRC_URI:append = " \
|
||||
file://0034-dt-Provide-a-way-to-remove-non-compliant-nodes-and-p.patch \
|
||||
file://0035-bootefi-Call-the-EVT_FT_FIXUP-event-handler.patch \
|
||||
file://0036-corstone1000-Purge-U-Boot-specific-DT-nodes.patch \
|
||||
file://0035-corstone1000-Purge-U-Boot-specific-DT-nodes.patch \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'corstone1000-extsys', \
|
||||
'', 'file://0037-corstone1000-purge-remoteproc-DTS-node.patch' , d)} \
|
||||
'', 'file://0036-corstone1000-purge-remoteproc-DTS-node.patch' , d)} \
|
||||
"
|
||||
|
||||
# Add OF_UPSTREAM support
|
||||
SRC_URI:append = " \
|
||||
file://0038-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch \
|
||||
file://0037-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch \
|
||||
"
|
||||
|
||||
# Use 32 bit cells for reserved-memory node in dts
|
||||
SRC_URI:append = " \
|
||||
file://0039-corstone1000-dts-use-32-bit-cells-for-reserved-memor.patch \
|
||||
file://0038-corstone1000-dts-use-32-bit-cells-for-reserved-memor.patch \
|
||||
"
|
||||
|
||||
# Add Cortex-a320 support
|
||||
SRC_URI:append = " \
|
||||
file://0040-corstone1000-Add-Cortex-A320-support-on-FVP.patch \
|
||||
file://0039-corstone1000-Add-Cortex-A320-support-on-FVP.patch \
|
||||
"
|
||||
|
||||
# Add Cortex-a320 specific configurations
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
From c8d3f4c9ad0cc67d708a2ecbe5f0d8caa3b0dae0 Mon Sep 17 00:00:00 2001
|
||||
From: Sughosh Ganu <sughosh.ganu@linaro.org>
|
||||
Date: Thu, 22 May 2025 18:08:38 +0100
|
||||
Subject: [PATCH] bootefi: Call the EVT_FT_FIXUP event handler
|
||||
|
||||
The bootefi command passes the devicetree to the kernel through the
|
||||
EFI config table. Call the event handlers for fixing the devicetree
|
||||
before jumping into the kernel. This removes any devicetree nodes
|
||||
and/or properties that are specific only to U-Boot, and are not to be
|
||||
passed to the OS.
|
||||
|
||||
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
|
||||
Upstream-Status: Denied [RFC: https://lore.kernel.org/u-boot/aca7e6fa-2dec-a7c5-e47e-84c5ffa6f9b7@gmx.de/T/#m16d14ee960427cc88066bdcdd76f0a26738bb66d]
|
||||
---
|
||||
cmd/bootefi.c | 20 ++++++++++++++++++++
|
||||
1 file changed, 20 insertions(+)
|
||||
|
||||
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
|
||||
index b8f5bb35950..d03e71d1a46 100644
|
||||
--- a/cmd/bootefi.c
|
||||
+++ b/cmd/bootefi.c
|
||||
@@ -122,6 +122,24 @@ static int do_efi_selftest(void)
|
||||
return ret != EFI_SUCCESS;
|
||||
}
|
||||
|
||||
+/**
|
||||
+ * event_notify_dt_fixup() - call ft_fixup event
|
||||
+ *
|
||||
+ * @fdt: address of the device tree to be passed to the kernel
|
||||
+ * through the configuration table
|
||||
+ * Return: None
|
||||
+ */
|
||||
+static void event_notify_dt_fixup(void *fdt)
|
||||
+{
|
||||
+ int ret;
|
||||
+ struct event_ft_fixup fixup = {0};
|
||||
+
|
||||
+ fixup.tree.fdt = fdt;
|
||||
+ ret = event_notify(EVT_FT_FIXUP, &fixup, sizeof(fixup));
|
||||
+ if (ret)
|
||||
+ printf("Error: %d: FDT Fixup event failed\n", ret);
|
||||
+}
|
||||
+
|
||||
/**
|
||||
* do_bootefi() - execute `bootefi` command
|
||||
*
|
||||
@@ -194,6 +212,8 @@ static int do_bootefi(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
if (ret != EFI_SUCCESS)
|
||||
return CMD_RET_FAILURE;
|
||||
|
||||
+ event_notify_dt_fixup(fdt);
|
||||
+
|
||||
return do_efi_selftest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user