diff mbox series

[2/3] arm-bsp/u-boot:cs1k: Remove broken patch

Message ID 20260210171242.196332-3-frazer.carsley@arm.com
State New
Headers show
Series cs1k: U-Boot Upgrade | expand

Commit Message

Frazer Carsley Feb. 10, 2026, 5:12 p.m. UTC
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>
---
 .../u-boot/u-boot-corstone1000.inc            | 11 ++--
 ...-Call-the-EVT_FT_FIXUP-event-handler.patch | 55 -------------------
 ...1000-Purge-U-Boot-specific-DT-nodes.patch} |  0
 ...stone1000-purge-remoteproc-DTS-node.patch} |  0
 ...ble-OF_UPSTREAM-device-tree-support.patch} |  0
 ...use-32-bit-cells-for-reserved-memor.patch} |  0
 ...1000-Add-Cortex-A320-support-on-FVP.patch} |  0
 7 files changed, 5 insertions(+), 61 deletions(-)
 delete mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0035-bootefi-Call-the-EVT_FT_FIXUP-event-handler.patch
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/{0036-corstone1000-Purge-U-Boot-specific-DT-nodes.patch => 0035-corstone1000-Purge-U-Boot-specific-DT-nodes.patch} (100%)
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/{0037-corstone1000-purge-remoteproc-DTS-node.patch => 0036-corstone1000-purge-remoteproc-DTS-node.patch} (100%)
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/{0038-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch => 0037-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch} (100%)
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/{0039-corstone1000-dts-use-32-bit-cells-for-reserved-memor.patch => 0038-corstone1000-dts-use-32-bit-cells-for-reserved-memor.patch} (100%)
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/{0040-corstone1000-Add-Cortex-A320-support-on-FVP.patch => 0039-corstone1000-Add-Cortex-A320-support-on-FVP.patch} (100%)
diff mbox series

Patch

diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc b/meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc
index 6aadcd05..4edd8f18 100644
--- a/meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc
+++ b/meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc
@@ -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
diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0035-bootefi-Call-the-EVT_FT_FIXUP-event-handler.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0035-bootefi-Call-the-EVT_FT_FIXUP-event-handler.patch
deleted file mode 100644
index 57a1c3fe..00000000
--- a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0035-bootefi-Call-the-EVT_FT_FIXUP-event-handler.patch
+++ /dev/null
@@ -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();
- 	}
- 
diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0036-corstone1000-Purge-U-Boot-specific-DT-nodes.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0035-corstone1000-Purge-U-Boot-specific-DT-nodes.patch
similarity index 100%
rename from meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0036-corstone1000-Purge-U-Boot-specific-DT-nodes.patch
rename to meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0035-corstone1000-Purge-U-Boot-specific-DT-nodes.patch
diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0037-corstone1000-purge-remoteproc-DTS-node.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0036-corstone1000-purge-remoteproc-DTS-node.patch
similarity index 100%
rename from meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0037-corstone1000-purge-remoteproc-DTS-node.patch
rename to meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0036-corstone1000-purge-remoteproc-DTS-node.patch
diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0038-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0037-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch
similarity index 100%
rename from meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0038-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch
rename to meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0037-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch
diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0039-corstone1000-dts-use-32-bit-cells-for-reserved-memor.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0038-corstone1000-dts-use-32-bit-cells-for-reserved-memor.patch
similarity index 100%
rename from meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0039-corstone1000-dts-use-32-bit-cells-for-reserved-memor.patch
rename to meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0038-corstone1000-dts-use-32-bit-cells-for-reserved-memor.patch
diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0040-corstone1000-Add-Cortex-A320-support-on-FVP.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0039-corstone1000-Add-Cortex-A320-support-on-FVP.patch
similarity index 100%
rename from meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0040-corstone1000-Add-Cortex-A320-support-on-FVP.patch
rename to meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0039-corstone1000-Add-Cortex-A320-support-on-FVP.patch