This is an automated email from Gerrit.

"Tomas Vanek <[email protected]>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/9148

-- gerrit

commit b2f79dc3bc00eeebe3c6cb5d6cfcdfa131a6983b
Author: Tomas Vanek <[email protected]>
Date:   Thu Sep 25 16:59:00 2025 +0200

    target/cortex_m: force trustzone detection
    
    DO NOT MERGE! JUST FOR TESTING!
    
    Change-Id: I0a88ce2a6c372ddecfe4570bd300089695dc2eb7
    Signed-off-by: Tomas Vanek <[email protected]>

diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c
index c5d668a4de..de49987084 100644
--- a/src/target/cortex_m.c
+++ b/src/target/cortex_m.c
@@ -2560,7 +2560,8 @@ static bool cortex_m_has_tz(struct target *target)
                LOG_TARGET_WARNING(target, "Error reading DAUTHSTATUS 
register");
                return false;
        }
-       return (dauthstatus & DAUTHSTATUS_SID_MASK) != 0;
+       //return (dauthstatus & DAUTHSTATUS_SID_MASK) != 0;
+       return true;
 }
 
 int cortex_m_set_secure(struct target *target, struct cortex_m_saved_security 
*ssec)

-- 

Reply via email to