]> git.sur5r.net Git - openocd/blobdiff - src/target/arm920t.c
target read/write is no longer attempted for target_xxx() functions when the target...
[openocd] / src / target / arm920t.c
index ae8814e5a4e087f4a2dc9dbfbba3a6059187cb04..2dff6b9428599c9590f96127287224a150ff5a3a 100644 (file)
@@ -90,6 +90,7 @@ target_type_t arm920t_target =
        .register_commands = arm920t_register_commands,
        .target_command = arm920t_target_command,
        .init_target = arm920t_init_target,
+       .examine = arm9tdmi_examine,
        .quit = arm920t_quit
 };
 
@@ -623,7 +624,7 @@ int arm920t_soft_reset_halt(struct target_s *target)
        reg_t *dbg_stat = &arm7_9->eice_cache->reg_list[EICE_DBG_STAT];
        int i;
        
-       target->type->halt(target);
+       target_halt(target);
        
        for (i=0; i<10; i++)
        {