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 <[email protected]>
---

 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 3d9d8476c98e..e8b7084521c5 100644
--- a/arch/arm/dts/zynqmp-binman-som.dts
+++ b/arch/arm/dts/zynqmp-binman-som.dts
@@ -146,8 +146,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 675f6bf51ebd..6d28a5bdae25 100644
--- a/arch/arm/dts/zynqmp-binman.dts
+++ b/arch/arm/dts/zynqmp-binman.dts
@@ -60,8 +60,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;
                                                };
@@ -134,8 +137,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