diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-30 19:26:05 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-30 19:26:05 +0000 |
commit | 6f944037d8badfd411e949a5c6f71d21bcbc11e6 (patch) | |
tree | 5e53d1530379152dd5f205edf2e45a9086b592ab | |
parent | 1231443b593cd8ea1e91aa476dfe4403f0402e2f (diff) | |
download | openocd_libswd-6f944037d8badfd411e949a5c6f71d21bcbc11e6.tar.gz openocd_libswd-6f944037d8badfd411e949a5c6f71d21bcbc11e6.tar.bz2 openocd_libswd-6f944037d8badfd411e949a5c6f71d21bcbc11e6.tar.xz openocd_libswd-6f944037d8badfd411e949a5c6f71d21bcbc11e6.zip |
now compiles again.
git-svn-id: svn://svn.berlios.de/openocd/trunk@632 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/target/cortex_m3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c index fb3b36b4..58b620b5 100644 --- a/src/target/cortex_m3.c +++ b/src/target/cortex_m3.c @@ -673,7 +673,7 @@ int cortex_m3_assert_reset(target_t *target) armv7m_common_t *armv7m = target->arch_info; cortex_m3_common_t *cortex_m3 = armv7m->arch_info; swjdp_common_t *swjdp = &cortex_m3->swjdp_info; - int assert_srst = TRUE; + int assert_srst = 1; LOG_DEBUG("target->state: %s", target_state_strings[target->state]); @@ -724,20 +724,20 @@ int cortex_m3_assert_reset(target_t *target) { case 0: /* all Sandstorm suffer issue */ - assert_srst = FALSE; + assert_srst = 0; break; case 1: case 3: /* only Fury/DustDevil rev A suffer reset problems */ if (((did0 >> 8) & 0xff) == 0) - assert_srst = FALSE; + assert_srst = 0; break; } } } - if (assert_srst == TRUE) + if (assert_srst) { /* default to asserting srst */ if (jtag_reset_config & RESET_SRST_PULLS_TRST) |