From: Øyvind Harboe Date: Mon, 11 Jan 2010 14:30:22 +0000 (+0100) Subject: arm7/9: enable check that DCC downloads have been enabled X-Git-Tag: v0.4.0-rc2~93 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b8e930e3bfc78f4a0582edb8b7cec44b5c9f4cad;p=openocd arm7/9: enable check that DCC downloads have been enabled Signed-off-by: Øyvind Harboe --- 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, };