Skip to content
Snippets Groups Projects
Commit 17d52af2 authored by ntfreak's avatar ntfreak
Browse files

- added checksum_memory and blank_check_memory for xscale

git-svn-id: svn://svn.berlios.de/openocd/trunk@696 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 2117ed3f
Branches
Tags v1.10
No related merge requests found
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "xscale.h" #include "xscale.h"
#include "arm7_9_common.h"
#include "register.h" #include "register.h"
#include "target.h" #include "target.h"
#include "armv4_5.h" #include "armv4_5.h"
...@@ -73,7 +74,6 @@ int xscale_write_core_reg(struct target_s *target, int num, enum armv4_5_mode mo ...@@ -73,7 +74,6 @@ int xscale_write_core_reg(struct target_s *target, int num, enum armv4_5_mode mo
int xscale_read_memory(struct target_s *target, u32 address, u32 size, u32 count, u8 *buffer); int xscale_read_memory(struct target_s *target, u32 address, u32 size, u32 count, u8 *buffer);
int xscale_write_memory(struct target_s *target, u32 address, u32 size, u32 count, u8 *buffer); int xscale_write_memory(struct target_s *target, u32 address, u32 size, u32 count, u8 *buffer);
int xscale_bulk_write_memory(target_t *target, u32 address, u32 count, u8 *buffer); int xscale_bulk_write_memory(target_t *target, u32 address, u32 count, u8 *buffer);
int xscale_checksum_memory(struct target_s *target, u32 address, u32 count, u32* checksum);
int xscale_add_breakpoint(struct target_s *target, breakpoint_t *breakpoint); int xscale_add_breakpoint(struct target_s *target, breakpoint_t *breakpoint);
int xscale_remove_breakpoint(struct target_s *target, breakpoint_t *breakpoint); int xscale_remove_breakpoint(struct target_s *target, breakpoint_t *breakpoint);
...@@ -110,8 +110,8 @@ target_type_t xscale_target = ...@@ -110,8 +110,8 @@ target_type_t xscale_target =
.read_memory = xscale_read_memory, .read_memory = xscale_read_memory,
.write_memory = xscale_write_memory, .write_memory = xscale_write_memory,
.bulk_write_memory = xscale_bulk_write_memory, .bulk_write_memory = xscale_bulk_write_memory,
.checksum_memory = xscale_checksum_memory, .checksum_memory = arm7_9_checksum_memory,
.blank_check_memory = NULL, .blank_check_memory = arm7_9_blank_check_memory,
.run_algorithm = armv4_5_run_algorithm, .run_algorithm = armv4_5_run_algorithm,
...@@ -2047,11 +2047,6 @@ int xscale_bulk_write_memory(target_t *target, u32 address, u32 count, u8 *buffe ...@@ -2047,11 +2047,6 @@ int xscale_bulk_write_memory(target_t *target, u32 address, u32 count, u8 *buffe
return xscale_write_memory(target, address, 4, count, buffer); return xscale_write_memory(target, address, 4, count, buffer);
} }
int xscale_checksum_memory(struct target_s *target, u32 address, u32 count, u32* checksum)
{
return ERROR_TARGET_RESOURCE_NOT_AVAILABLE;
}
u32 xscale_get_ttb(target_t *target) u32 xscale_get_ttb(target_t *target)
{ {
armv4_5_common_t *armv4_5 = target->arch_info; armv4_5_common_t *armv4_5 = target->arch_info;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment