summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2022-05-18 13:41:31 +0200
committerMichal Simek <michal.simek@amd.com>2022-05-24 08:44:24 +0200
commit594f692f491f0def6c4b6543e158a7f367b35dcc (patch)
treeb62338b96ddb9110217faa0ba4e71587d6bde4ca /arch
parent11ed38f5dc12afb581e0fdb2e617c6e25fa81af8 (diff)
downloadu-boot-594f692f491f0def6c4b6543e158a7f367b35dcc.tar.gz
u-boot-594f692f491f0def6c4b6543e158a7f367b35dcc.tar.bz2
u-boot-594f692f491f0def6c4b6543e158a7f367b35dcc.zip
xilinx: zynqmp: Wire tee for Multi DTB use cases
Fix TEE wiring when MULTI_DTB is selected. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/c8523a89d910ae6b8a9971b4e7b3bda89be3dc27.1652874088.git.michal.simek@amd.com
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/mach-zynqmp/mkimage_fit_atf.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-zynqmp/mkimage_fit_atf.sh b/arch/arm/mach-zynqmp/mkimage_fit_atf.sh
index 72a8a3eb77..40ed23b0ba 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
};