stlink: add missing memory check handlers
[fw/openocd] / src / target / fa526.c
index 7c6cae6f29f8ffa230bead8ecdf1e2780c8f9251..d9d5d43b51b22ce2c6c61025c16343e8133c1338 100644 (file)
@@ -292,7 +292,6 @@ static int fa526_init_arch_info_2(struct target *target,
        arm7_9->post_debug_entry = NULL;
 
        arm7_9->pre_restore_context = NULL;
-       arm7_9->post_restore_context = NULL;
 
        /* initialize arch-specific breakpoint handling */
        arm7_9->arm_bkpt = 0xdeeedeee;
@@ -390,4 +389,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,
 };