summaryrefslogtreecommitdiff
path: root/src/target/arm7_9_common.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-18 05:02:08 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-18 15:51:07 -0800
commitc0d14dc7f19d785702eee5f69de5b1a63902554b (patch)
treee93e58120b0a5829e6cf1f1581f4467bc78c1ce7 /src/target/arm7_9_common.c
parent20218b8de61dea545c7575f36e1b74b9599c9848 (diff)
downloadopenocd_libswd-c0d14dc7f19d785702eee5f69de5b1a63902554b.tar.gz
openocd_libswd-c0d14dc7f19d785702eee5f69de5b1a63902554b.tar.bz2
openocd_libswd-c0d14dc7f19d785702eee5f69de5b1a63902554b.tar.xz
openocd_libswd-c0d14dc7f19d785702eee5f69de5b1a63902554b.zip
remove fast command and jim_global_long
Removing the fast command eliminates the fast_and_dangerous global, which was used only by arm7_9_common as an initializer. The command is not called in the tree; instead, more explicit commands are used. The jim_global_long function was not used anywhere in the tree.
Diffstat (limited to 'src/target/arm7_9_common.c')
-rw-r--r--src/target/arm7_9_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c
index 16c8a925..eb4b0383 100644
--- a/src/target/arm7_9_common.c
+++ b/src/target/arm7_9_common.c
@@ -2929,8 +2929,8 @@ int arm7_9_init_arch_info(struct target *target, struct arm7_9_common *arm7_9)
arm7_9->wp_available_max = 2;
- arm7_9->fast_memory_access = fast_and_dangerous;
- arm7_9->dcc_downloads = fast_and_dangerous;
+ arm7_9->fast_memory_access = false;
+ arm7_9->dcc_downloads = false;
armv4_5->arch_info = arm7_9;
armv4_5->read_core_reg = arm7_9_read_core_reg;