]> git.sur5r.net Git - openocd/commitdiff
fix bug in ARM720: bugfix
authorZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 05:02:30 +0000 (21:02 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 05:02:30 +0000 (21:02 -0800)
src/target/arm720t.c

index c84ee287604ab2337191e3af7a04c8713c0ab58b..6ce798075479eba9a1abdf9aef26ee8818120b99 100644 (file)
@@ -405,7 +405,7 @@ static int arm720t_target_create(struct target_s *target, Jim_Interp *interp)
 {
        struct arm720t_common_s *arm720t = calloc(1, sizeof(*arm720t));
 
-       arm720t->arm7tdmi_common->arm7_9_common.armv4_5_common.is_armv4 = true;
+       arm720t->arm7tdmi_common.arm7_9_common.armv4_5_common.is_armv4 = true;
        return arm720t_init_arch_info(target, arm720t, target->tap);
 }