summaryrefslogtreecommitdiff
path: root/src/target/mips32.c
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2011-01-04 12:29:49 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2011-01-04 12:29:49 +0000
commit0cd84000daab056dea61eb9d60cca538a3716acd (patch)
tree693d56f745e551f3cabc1ec9ffaf8a7f8d8ff0a1 /src/target/mips32.c
parentdc1c5a750043a34ff94d51558b5473f567d84604 (diff)
downloadopenocd+libswd-0cd84000daab056dea61eb9d60cca538a3716acd.tar.gz
openocd+libswd-0cd84000daab056dea61eb9d60cca538a3716acd.tar.bz2
openocd+libswd-0cd84000daab056dea61eb9d60cca538a3716acd.tar.xz
openocd+libswd-0cd84000daab056dea61eb9d60cca538a3716acd.zip
mips32: add fastdata loader working area
Add a working area that is preserved between calls to mips_m4k_bulk_write_memory - this gives us a speed increase of approx 3kb/sec during flash writes to the pic32mx. This area is released during a resume/reset. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/target/mips32.c')
-rw-r--r--src/target/mips32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/mips32.c b/src/target/mips32.c
index 533701aa..e48a040c 100644
--- a/src/target/mips32.c
+++ b/src/target/mips32.c
@@ -309,6 +309,7 @@ int mips32_init_arch_info(struct target *target, struct mips32_common *mips32, s
{
target->arch_info = mips32;
mips32->common_magic = MIPS32_COMMON_MAGIC;
+ mips32->fast_data_area = NULL;
/* has breakpoint/watchpint unit been scanned */
mips32->bp_scanned = 0;