This is an automated email from Gerrit.

Mathias Küster ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/629

-- gerrit

commit 82a7c8354aa65ea84bb61f63d9b4aa7c578cdf9d
Author: Mathias K <[email protected]>
Date:   Wed May 9 21:34:04 2012 +0200

    arm7_9_common: Add ti calypso variant with the specific initialization
    
    This patch add the specific jtag initialization from the ti calypso
    cpu, arm7tdmi variant, to the target examine function.
    
    Change-Id: Ia10d4f95ccda24a89aa062facfaf65758910e00d
    Signed-off-by: Mathias K <[email protected]>

diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c
index bf08194..e054192 100644
--- a/src/target/arm7_9_common.c
+++ b/src/target/arm7_9_common.c
@@ -2611,8 +2611,14 @@ int arm7_9_bulk_write_memory(struct target *target,
 int arm7_9_examine(struct target *target)
 {
        struct arm7_9_common *arm7_9 = target_to_arm7_9(target);
+       struct arm_jtag *jtag_info = &arm7_9->jtag_info;
        int retval;
 
+       /* target specific initialization */
+       if (strcmp(target_variant(target), "calypso") == 0) {
+               arm_jtag_instr_dr32(jtag_info, 0x0b, 0x02, 2, TAP_IDLE);
+       }
+
        if (!target_was_examined(target)) {
                struct reg_cache *t, **cache_p;
 

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to