]> git.sur5r.net Git - openocd/blobdiff - src/target/feroceon.c
target read/write is no longer attempted for target_xxx() functions when the target...
[openocd] / src / target / feroceon.c
index 0c1d46dabc7fb199051b11da1c5240e20da79452..0cd632bd77fb3e65cf149d291931801793e1a2b8 100644 (file)
@@ -94,6 +94,7 @@ target_type_t feroceon_target =
        .register_commands = arm926ejs_register_commands,
        .target_command = feroceon_target_command,
        .init_target = feroceon_init_target,
+       .examine = arm9tdmi_examine,
        .quit = feroceon_quit
 };
 
@@ -546,9 +547,9 @@ int feroceon_bulk_write_memory(target_t *target, u32 address, u32 count, u8 *buf
                buffer += 4;
        }
 
-       target->type->halt(target);
+       target_halt(target);
        while (target->state != TARGET_HALTED)
-               target->type->poll(target);
+               target_poll(target);
 
        /* restore target state */
        for (i = 0; i <= 5; i++)