summaryrefslogtreecommitdiff
path: root/src/target/arm920t.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-07-19 10:58:07 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-07-19 22:13:48 +0200
commit6a237c23c1adb0be91a82a44d2cf13ff158b3ee2 (patch)
treee83e5c8678c371be845fe9d00c4a9ef07038e8c9 /src/target/arm920t.h
parent70fee9207b5fd1c6f499b790591446adc4d4467c (diff)
downloadopenocd+libswd-6a237c23c1adb0be91a82a44d2cf13ff158b3ee2.tar.gz
openocd+libswd-6a237c23c1adb0be91a82a44d2cf13ff158b3ee2.tar.bz2
openocd+libswd-6a237c23c1adb0be91a82a44d2cf13ff158b3ee2.tar.xz
openocd+libswd-6a237c23c1adb0be91a82a44d2cf13ff158b3ee2.zip
arm: add error propagation for enable/disable mmu caches
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/arm920t.h')
-rw-r--r--src/target/arm920t.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm920t.h b/src/target/arm920t.h
index 9d5afab8..20f614d7 100644
--- a/src/target/arm920t.h
+++ b/src/target/arm920t.h
@@ -67,9 +67,9 @@ int arm920t_write_memory(struct target *target,
void arm920t_post_debug_entry(struct target *target);
void arm920t_pre_restore_context(struct target *target);
int arm920t_get_ttb(struct target *target, uint32_t *result);
-void arm920t_disable_mmu_caches(struct target *target,
+int arm920t_disable_mmu_caches(struct target *target,
int mmu, int d_u_cache, int i_cache);
-void arm920t_enable_mmu_caches(struct target *target,
+int arm920t_enable_mmu_caches(struct target *target,
int mmu, int d_u_cache, int i_cache);
extern const struct command_registration arm920t_command_handlers[];