TCL SCRIPTS: fix command name
[fw/openocd] / src / target / mips_m4k.h
index 4fe14a0d67b128f9e0a213494861a5bfb674bd0d..5eb202969e4373206cff3e845b74b228c9bf88ca 100644 (file)
@@ -32,14 +32,15 @@ struct target;
 struct mips_m4k_common
 {
        int common_magic;
-       struct mips32_common mips32_common;
+       bool is_pic32mx;
+       struct mips32_common mips32;
 };
 
 static inline struct mips_m4k_common *
 target_to_m4k(struct target *target)
 {
        return container_of(target->arch_info,
-                       struct mips_m4k_common, mips32_common);
+                       struct mips_m4k_common, mips32);
 }
 
 int mips_m4k_bulk_write_memory(struct target *target,