]> git.gag.com Git - fw/openocd/blobdiff - src/target/xscale.c
target: Add default implementation of bulk_write_memory
[fw/openocd] / src / target / xscale.c
index bec71652a7e5e255febdaecc50f5b652e04bc2e9..5e9c598234234280d933cd75e224d21ef9cdcee0 100644 (file)
@@ -1970,12 +1970,6 @@ static int xscale_write_phys_memory(struct target *target, uint32_t address,
        return ERROR_FAIL;
 }
 
-static int xscale_bulk_write_memory(struct target *target, uint32_t address,
-       uint32_t count, const uint8_t *buffer)
-{
-       return xscale_write_memory(target, address, 4, count, buffer);
-}
-
 static int xscale_get_ttb(struct target *target, uint32_t *result)
 {
        struct xscale_common *xscale = target_to_xscale(target);
@@ -3697,7 +3691,6 @@ struct target_type xscale_target = {
        .read_phys_memory = xscale_read_phys_memory,
        .write_memory = xscale_write_memory,
        .write_phys_memory = xscale_write_phys_memory,
-       .bulk_write_memory = xscale_bulk_write_memory,
 
        .checksum_memory = arm_checksum_memory,
        .blank_check_memory = arm_blank_check_memory,