Reset wip. Just adding hooks. This is just to reduce the size of the actual change...
[fw/openocd] / src / target / feroceon.c
index c6edc429d1db819bebb4b08e83e4303ebe635fc5..0cd632bd77fb3e65cf149d291931801793e1a2b8 100644 (file)
@@ -547,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++)