All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xilinx: zynqmp: Wire tee for Multi DTB use cases
@ 2022-05-18 11:41 Michal Simek
  2022-05-24  6:44 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2022-05-18 11:41 UTC (permalink / raw)
  To: u-boot, git

Fix TEE wiring when MULTI_DTB is selected.

Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 arch/arm/mach-zynqmp/mkimage_fit_atf.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/mach-zynqmp/mkimage_fit_atf.sh b/arch/arm/mach-zynqmp/mkimage_fit_atf.sh
index 72a8a3eb7714..40ed23b0ba6a 100755
--- a/arch/arm/mach-zynqmp/mkimage_fit_atf.sh
+++ b/arch/arm/mach-zynqmp/mkimage_fit_atf.sh
@@ -140,6 +140,15 @@ cat << __CONF_SECTION1_EOF
 		};
 __CONF_SECTION1_EOF
 else
+if [ -f $BL32 ]; then
+cat << __CONF_SECTION1_EOF
+		config_1 {
+			description = "Multi DTB with TF-A and TEE";
+			firmware = "atf";
+			loadables = "uboot", "tee", "fdt_1";
+		};
+__CONF_SECTION1_EOF
+else
 cat << __CONF_SECTION1_EOF
 		config_1 {
 			description = "Multi DTB with TF-A";
@@ -148,6 +157,7 @@ cat << __CONF_SECTION1_EOF
 		};
 __CONF_SECTION1_EOF
 fi
+fi
 
 cat << __ITS_EOF
 	};
-- 
2.36.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xilinx: zynqmp: Wire tee for Multi DTB use cases
  2022-05-18 11:41 [PATCH] xilinx: zynqmp: Wire tee for Multi DTB use cases Michal Simek
@ 2022-05-24  6:44 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2022-05-24  6:44 UTC (permalink / raw)
  To: U-Boot, git

st 18. 5. 2022 v 13:41 odesílatel Michal Simek <monstr@monstr.eu> napsal:
>
> Fix TEE wiring when MULTI_DTB is selected.
>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
>  arch/arm/mach-zynqmp/mkimage_fit_atf.sh | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/mach-zynqmp/mkimage_fit_atf.sh b/arch/arm/mach-zynqmp/mkimage_fit_atf.sh
> index 72a8a3eb7714..40ed23b0ba6a 100755
> --- a/arch/arm/mach-zynqmp/mkimage_fit_atf.sh
> +++ b/arch/arm/mach-zynqmp/mkimage_fit_atf.sh
> @@ -140,6 +140,15 @@ cat << __CONF_SECTION1_EOF
>                 };
>  __CONF_SECTION1_EOF
>  else
> +if [ -f $BL32 ]; then
> +cat << __CONF_SECTION1_EOF
> +               config_1 {
> +                       description = "Multi DTB with TF-A and TEE";
> +                       firmware = "atf";
> +                       loadables = "uboot", "tee", "fdt_1";
> +               };
> +__CONF_SECTION1_EOF
> +else
>  cat << __CONF_SECTION1_EOF
>                 config_1 {
>                         description = "Multi DTB with TF-A";
> @@ -148,6 +157,7 @@ cat << __CONF_SECTION1_EOF
>                 };
>  __CONF_SECTION1_EOF
>  fi
> +fi
>
>  cat << __ITS_EOF
>         };
> --
> 2.36.0
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-24  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 11:41 [PATCH] xilinx: zynqmp: Wire tee for Multi DTB use cases Michal Simek
2022-05-24  6:44 ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.