diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-01-11 15:30:22 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-01-13 12:00:02 +0100 |
commit | b8e930e3bfc78f4a0582edb8b7cec44b5c9f4cad (patch) | |
tree | c7e620ffac2caad50135cfd0eb8924cb0ce973fb | |
parent | ee519ab3562870aa5bb1bc79f3c24cb3b3074d65 (diff) | |
download | openocd_libswd-b8e930e3bfc78f4a0582edb8b7cec44b5c9f4cad.tar.gz openocd_libswd-b8e930e3bfc78f4a0582edb8b7cec44b5c9f4cad.tar.bz2 openocd_libswd-b8e930e3bfc78f4a0582edb8b7cec44b5c9f4cad.tar.xz openocd_libswd-b8e930e3bfc78f4a0582edb8b7cec44b5c9f4cad.zip |
arm7/9: enable check that DCC downloads have been enabled
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
-rw-r--r-- | src/target/arm720t.c | 1 | ||||
-rw-r--r-- | src/target/arm7_9_common.c | 2 | ||||
-rw-r--r-- | src/target/arm7tdmi.c | 1 | ||||
-rw-r--r-- | src/target/arm920t.c | 1 | ||||
-rw-r--r-- | src/target/arm926ejs.c | 1 | ||||
-rw-r--r-- | src/target/arm966e.c | 1 | ||||
-rw-r--r-- | src/target/arm9tdmi.c | 1 | ||||
-rw-r--r-- | src/target/fa526.c | 1 |
8 files changed, 9 insertions, 0 deletions
diff --git a/src/target/arm720t.c b/src/target/arm720t.c index 2f516997..a5dde2c0 100644 --- a/src/target/arm720t.c +++ b/src/target/arm720t.c @@ -578,4 +578,5 @@ struct target_type arm720t_target = .target_create = arm720t_target_create, .init_target = arm720t_init_target, .examine = arm7_9_examine, + .check_reset = arm7_9_check_reset, }; diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c index a5a0f80f..0f8f2638 100644 --- a/src/target/arm7_9_common.c +++ b/src/target/arm7_9_common.c @@ -2732,6 +2732,8 @@ int arm7_9_check_reset(struct target *target) { LOG_WARNING("NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. Type 'help dcc'."); } + + return ERROR_OK; } COMMAND_HANDLER(handle_arm7_9_dbgrq_command) diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c index d576d073..16f16b0f 100644 --- a/src/target/arm7tdmi.c +++ b/src/target/arm7tdmi.c @@ -752,4 +752,5 @@ struct target_type arm7tdmi_target = .target_create = arm7tdmi_target_create, .init_target = arm7tdmi_init_target, .examine = arm7_9_examine, + .check_reset = arm7_9_check_reset, }; diff --git a/src/target/arm920t.c b/src/target/arm920t.c index 29eb62d3..e0b1c70a 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -1476,4 +1476,5 @@ struct target_type arm920t_target = .target_create = arm920t_target_create, .init_target = arm9tdmi_init_target, .examine = arm7_9_examine, + .check_reset = arm7_9_check_reset, }; diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index e099919b..32ecf72d 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -815,6 +815,7 @@ struct target_type arm926ejs_target = .target_create = arm926ejs_target_create, .init_target = arm9tdmi_init_target, .examine = arm7_9_examine, + .check_reset = arm7_9_check_reset, .virt2phys = arm926ejs_virt2phys, .mmu = arm926ejs_mmu, diff --git a/src/target/arm966e.c b/src/target/arm966e.c index 86af0f60..2f5e3904 100644 --- a/src/target/arm966e.c +++ b/src/target/arm966e.c @@ -294,4 +294,5 @@ struct target_type arm966e_target = .target_create = arm966e_target_create, .init_target = arm9tdmi_init_target, .examine = arm7_9_examine, + .check_reset = arm7_9_check_reset, }; diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c index 823e962e..761e7cf7 100644 --- a/src/target/arm9tdmi.c +++ b/src/target/arm9tdmi.c @@ -975,4 +975,5 @@ struct target_type arm9tdmi_target = .target_create = arm9tdmi_target_create, .init_target = arm9tdmi_init_target, .examine = arm7_9_examine, + .check_reset = arm7_9_check_reset, }; diff --git a/src/target/fa526.c b/src/target/fa526.c index 7c6cae6f..b6149e31 100644 --- a/src/target/fa526.c +++ b/src/target/fa526.c @@ -390,4 +390,5 @@ struct target_type fa526_target = .target_create = fa526_target_create, .init_target = arm9tdmi_init_target, .examine = arm7_9_examine, + .check_reset = arm7_9_check_reset, }; |