]> git.sur5r.net Git - openocd/commitdiff
arm7/9: enable check that DCC downloads have been enabled
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 11 Jan 2010 14:30:22 +0000 (15:30 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 13 Jan 2010 11:00:02 +0000 (12:00 +0100)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/arm720t.c
src/target/arm7_9_common.c
src/target/arm7tdmi.c
src/target/arm920t.c
src/target/arm926ejs.c
src/target/arm966e.c
src/target/arm9tdmi.c
src/target/fa526.c

index 2f516997420b5eec3c9f728a477cf30360bdb544..a5dde2c024bec399370a9dd8a5fd865b4f20be87 100644 (file)
@@ -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,
 };
index a5a0f80fc19ae6ac20a61673c0f03a5df2eb7ed6..0f8f263834b00a33b3702172d4a183bccabadf46 100644 (file)
@@ -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)
index d576d073bb0ebcf50ecaba25704cef78a2a4d47a..16f16b0fad1c2e05eb1b71df074f265a55a9b040 100644 (file)
@@ -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,
 };
index 29eb62d330ebe8f4baa872fc77f9e7bcbb97569f..e0b1c70ae2d61d44e7b0a55af876082787427de8 100644 (file)
@@ -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,
 };
index e099919b52c5855fca99322b7ae3d2aace7593da..32ecf72d9626f76aa4518fec163c9cf86f2bb18d 100644 (file)
@@ -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,
 
index 86af0f608cb6fa481a68a05a10ddae11605ea7a3..2f5e390465aad0d762aeb2206762157d2e62d16e 100644 (file)
@@ -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,
 };
index 823e962ed0be22f618567594d5b3fdcfd8af1d46..761e7cf7814e889efe4de8a7cbb02e1082ce4ea5 100644 (file)
@@ -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,
 };
index 7c6cae6f29f8ffa230bead8ecdf1e2780c8f9251..b6149e318ad4aa4b2967d1932adbbc2527cae01c 100644 (file)
@@ -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,
 };