cleanup: rename armv4_5 to arm for readability
[fw/openocd] / src / target / arm926ejs.h
index 274733bfd29ddc464a95558d4a1ad9a1f8ec500e..e2a53a6b05da8c6c3e49228680d76aa69597ea09 100644 (file)
@@ -42,7 +42,7 @@ static inline struct arm926ejs_common *
 target_to_arm926(struct target *target)
 {
        return container_of(target->arch_info, struct arm926ejs_common,
-                       arm7_9_common.armv4_5_common);
+                       arm7_9_common.arm);
 }
 
 
@@ -50,7 +50,7 @@ int arm926ejs_init_arch_info(struct target *target,
                struct arm926ejs_common *arm926ejs, struct jtag_tap *tap);
 int arm926ejs_arch_state(struct target *target);
 int arm926ejs_write_memory(struct target *target,
-               uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer);
+               uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer);
 int arm926ejs_soft_reset_halt(struct target *target);
 
 extern const struct command_registration arm926ejs_command_handlers[];