diff --git a/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0001-reserve-memory-for-se-comm.patch b/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0001-reserve-memory-for-se-comm.patch deleted file mode 100644 index 4c8f856aa22bd6d707f767a5b87ecee01713bc1e..0000000000000000000000000000000000000000 --- a/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0001-reserve-memory-for-se-comm.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 8fdd91630f335b71e55e570a011f07b083c47dd6 Mon Sep 17 00:00:00 2001 -From: Emekcan Aras -Date: Mon, 10 Jul 2023 19:00:43 +0100 -Subject: [PATCH] arm-bsp/u-boot: Reserve memory for SE comm - -The memory used by OpenAMP for communication between the SE-proxy and -the Secure Enclave on the Corstone-1000 is being corrupted at some -point after boot. When the PSA APIs are called from Linux, this -results in OpenAMP errors from the SE-proxy. - -While u-boot should not be accessing this memory region, it's possible -that something in Linux is. Explicitly reserve the memory in the -u-boot device tree so that it is reported to the Linux kernel. - -Upstream-Status: Pending [Not submitted to upstream yet] -Signed-off-by: Emekcan Aras - ---- - arch/arm/dts/corstone1000.dtsi | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi -index 0f8ad255ce..a71b89c025 100644 ---- a/arch/arm/dts/corstone1000.dtsi -+++ b/arch/arm/dts/corstone1000.dtsi -@@ -45,6 +45,17 @@ - lba = <65536>; - }; - -+ reserved-memory { -+ #address-cells = <2>; -+ #size-cells = <2>; -+ ranges; -+ -+ smem_mem: smem_region@88000000 { -+ reg = <0x0 0x88000000 0x0 0x100000>; -+ no-map; -+ }; -+ }; -+ - gic: interrupt-controller@1c000000 { - compatible = "arm,gic-400"; - #interrupt-cells = <3>; --- -2.17.1 diff --git a/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend b/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend deleted file mode 100644 index f5c77ea01ddfc8eecb1b0db94c9c5dbd5b93b78a..0000000000000000000000000000000000000000 --- a/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend +++ /dev/null @@ -1,10 +0,0 @@ -# SPDX-FileCopyrightText: Copyright 2023 Arm Limited and/or its -# affiliates -# -# SPDX-License-Identifier: MIT - -FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" - -SRC_URI:append:corstone1000 = " \ - file://0001-reserve-memory-for-se-comm.patch \ - "