summaryrefslogtreecommitdiff
path: root/src/target/mips_ejtag.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:35:09 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:35:09 +0000
commite43979e7020ea9d05a3c0a2af444f292eacb6c53 (patch)
treebfe4610aa5c9f094b8d214588e8d1d6356e6cb7d /src/target/mips_ejtag.c
parent8591335ba6556d788999ac29f1efbdbe0cb3554a (diff)
downloadopenocd+libswd-e43979e7020ea9d05a3c0a2af444f292eacb6c53.tar.gz
openocd+libswd-e43979e7020ea9d05a3c0a2af444f292eacb6c53.tar.bz2
openocd+libswd-e43979e7020ea9d05a3c0a2af444f292eacb6c53.tar.xz
openocd+libswd-e43979e7020ea9d05a3c0a2af444f292eacb6c53.zip
- 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/mips_ejtag.c b/src/target/mips_ejtag.c
index eebd5fb7..5985cfd3 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 */