There is incorrect loading address listed for TEE.
CONFIG_BL32_LOAD_ADDR should be used.
Also there is missing hash for this entry which is present for other nodes.

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

(no changes since v1)

 arch/arm/dts/zynqmp-binman-som.dts |  7 +++++--
 arch/arm/dts/zynqmp-binman.dts     | 14 ++++++++++----
 2 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/arch/arm/dts/zynqmp-binman-som.dts 
b/arch/arm/dts/zynqmp-binman-som.dts
index 3ffa06f0c04f..a697c2c1945c 100644
--- a/arch/arm/dts/zynqmp-binman-som.dts
+++ b/arch/arm/dts/zynqmp-binman-som.dts
@@ -148,8 +148,11 @@
                                                arch = "arm64";
                                                compression = "none";
                                                os = "tee";
-                                               load = /bits/ 64 
<CONFIG_BL31_LOAD_ADDR>;
-                                               entry = /bits/ 64 
<CONFIG_BL31_LOAD_ADDR>;
+                                               load = /bits/ 64 
<CONFIG_BL32_LOAD_ADDR>;
+                                               entry = /bits/ 64 
<CONFIG_BL32_LOAD_ADDR>;
+                                               hash {
+                                                       algo = "md5";
+                                               };
                                                tee-os {
                                                        optional;
                                                };
diff --git a/arch/arm/dts/zynqmp-binman.dts b/arch/arm/dts/zynqmp-binman.dts
index bf3335a3e539..458387161c35 100644
--- a/arch/arm/dts/zynqmp-binman.dts
+++ b/arch/arm/dts/zynqmp-binman.dts
@@ -61,8 +61,11 @@
                                                arch = "arm64";
                                                compression = "none";
                                                os = "tee";
-                                               load = /bits/ 64 
<CONFIG_BL31_LOAD_ADDR>;
-                                               entry = /bits/ 64 
<CONFIG_BL31_LOAD_ADDR>;
+                                               load = /bits/ 64 
<CONFIG_BL32_LOAD_ADDR>;
+                                               entry = /bits/ 64 
<CONFIG_BL32_LOAD_ADDR>;
+                                               hash {
+                                                       algo = "md5";
+                                               };
                                                tee-os {
                                                        optional;
                                                };
@@ -135,8 +138,11 @@
                                                arch = "arm64";
                                                compression = "none";
                                                os = "tee";
-                                               load = /bits/ 64 
<CONFIG_BL31_LOAD_ADDR>;
-                                               entry = /bits/ 64 
<CONFIG_BL31_LOAD_ADDR>;
+                                               load = /bits/ 64 
<CONFIG_BL32_LOAD_ADDR>;
+                                               entry = /bits/ 64 
<CONFIG_BL32_LOAD_ADDR>;
+                                               hash {
+                                                       algo = "md5";
+                                               };
                                                tee-os {
                                                        optional;
                                                };
-- 
2.43.0

Reply via email to