diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:35:09 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:35:09 +0000 |
commit | e43979e7020ea9d05a3c0a2af444f292eacb6c53 (patch) | |
tree | bfe4610aa5c9f094b8d214588e8d1d6356e6cb7d /src/target/mips_ejtag.c | |
parent | 8591335ba6556d788999ac29f1efbdbe0cb3554a (diff) | |
download | riscv-openocd-e43979e7020ea9d05a3c0a2af444f292eacb6c53.zip riscv-openocd-e43979e7020ea9d05a3c0a2af444f292eacb6c53.tar.gz riscv-openocd-e43979e7020ea9d05a3c0a2af444f292eacb6c53.tar.bz2 |
- Replace 'if(' with 'if ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2357 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/mips_ejtag.c')
-rw-r--r-- | src/target/mips_ejtag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/mips_ejtag.c b/src/target/mips_ejtag.c index eebd5fb..5985cfd 100644 --- a/src/target/mips_ejtag.c +++ b/src/target/mips_ejtag.c @@ -212,7 +212,7 @@ int mips_ejtag_enter_debug(mips_ejtag_t *ejtag_info) ejtag_ctrl = ejtag_info->ejtag_ctrl; mips_ejtag_drscan_32(ejtag_info, &ejtag_ctrl); LOG_DEBUG("ejtag_ctrl: 0x%8.8" PRIx32 "", ejtag_ctrl); - if((ejtag_ctrl & EJTAG_CTRL_BRKST) == 0) + if ((ejtag_ctrl & EJTAG_CTRL_BRKST) == 0) LOG_DEBUG("Failed to enter Debug Mode!"); return ERROR_OK; @@ -294,7 +294,7 @@ int mips_ejtag_init(mips_ejtag_t *ejtag_info) ejtag_info->impcode & (1<<0) ? " MIPS64": " MIPS32" ); - if((ejtag_info->impcode & (1<<14)) == 0) + if ((ejtag_info->impcode & (1<<14)) == 0) LOG_DEBUG("EJTAG: DMA Access Mode Support Enabled"); /* set initial state for ejtag control reg */ |