X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Ftarget%2Farm920t.c;h=3d119bd6f1fdedb306be145ad5805975b8553d26;hb=efef05870d726fe4cb6786d785fae4628fe7ec1e;hp=bf099e9dea1dd0d35e997f888a766769839267b3;hpb=4ce93ac479c29210c4b472a16733bed2537c35f9;p=openocd diff --git a/src/target/arm920t.c b/src/target/arm920t.c index bf099e9d..3d119bd6 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -497,7 +497,7 @@ int arm920t_arch_state(struct target_s *target) exit(-1); } - LOG_USER( "target halted in %s state due to %s, current mode: %s\n" + LOG_USER("target halted in %s state due to %s, current mode: %s\n" "cpsr: 0x%8.8" PRIx32 " pc: 0x%8.8" PRIx32 "\n" "MMU: %s, D-Cache: %s, I-Cache: %s", armv4_5_state_strings[armv4_5->core_state], @@ -572,9 +572,9 @@ int arm920t_soft_reset_halt(struct target_s *target) return retval; } - long long then=timeval_ms(); + long long then = timeval_ms(); int timeout; - while (!(timeout=((timeval_ms()-then)>1000))) + while (!(timeout = ((timeval_ms()-then) > 1000))) { if (buf_get_u32(dbg_stat->value, EICE_DBG_STATUS_DBGACK, 1) == 0) {