X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Ftarget%2Farm920t.c;h=3d119bd6f1fdedb306be145ad5805975b8553d26;hb=efef05870d726fe4cb6786d785fae4628fe7ec1e;hp=10428a65c9e1db7a5a5bb628a85bb9c6c98d690d;hpb=84df52f9ea78e2d71bde648a16b69d80404c6421;p=openocd diff --git a/src/target/arm920t.c b/src/target/arm920t.c index 10428a65..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], @@ -574,7 +574,7 @@ int arm920t_soft_reset_halt(struct target_s *target) 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) {