aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-24 09:37:37 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-24 09:37:37 +0000
commit5e53d488dce65c7841ebe61e5aad2ed84e58b72c (patch)
treecca492c070f2a4eee01db9275793e83d12ce25c2
parente47be43ed1cebd6642cc4891ef5923a6cd3a92cb (diff)
downloadriscv-openocd-5e53d488dce65c7841ebe61e5aad2ed84e58b72c.zip
riscv-openocd-5e53d488dce65c7841ebe61e5aad2ed84e58b72c.tar.gz
riscv-openocd-5e53d488dce65c7841ebe61e5aad2ed84e58b72c.tar.bz2
- Fixes '=' whitespace
- Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2391 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/flash/at91sam3.c12
-rw-r--r--src/helper/membuf.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/flash/at91sam3.c b/src/flash/at91sam3.c
index da3e624..5a878f1 100644
--- a/src/flash/at91sam3.c
+++ b/src/flash/at91sam3.c
@@ -756,7 +756,7 @@ FLASHD_ReadUniqueID ( struct sam3_bank_private *pPrivate )
}
r = EFC_PerformCommand( pPrivate, AT91C_EFC_FCMD_SPUI, 0, NULL );
- LOG_DEBUG("End: R=%d, id=0x%08x, 0x%08x, 0x%08x, 0x%08x",
+ LOG_DEBUG("End: R=%d, id = 0x%08x, 0x%08x, 0x%08x, 0x%08x",
r,
(unsigned int)(pPrivate->pChip->cfg.unique_id[0]),
(unsigned int)(pPrivate->pChip->cfg.unique_id[1]),
@@ -1272,9 +1272,9 @@ sam3_explain_ckgr_plla( struct sam3_chip *pChip )
sam3_sprintf(pChip,"\n");
pChip->cfg.plla_freq = 0;
if ( mula == 0 ){
- sam3_sprintf(pChip,"\tPLLA Freq: (Disabled,mula=0)\n");
+ sam3_sprintf(pChip,"\tPLLA Freq: (Disabled,mula = 0)\n");
} else if ( diva == 0 ){
- sam3_sprintf(pChip,"\tPLLA Freq: (Disabled,diva=0)\n");
+ sam3_sprintf(pChip,"\tPLLA Freq: (Disabled,diva = 0)\n");
} else if ( diva == 1 ){
pChip->cfg.plla_freq = (pChip->cfg.mainosc_freq * (mula+1));
sam3_sprintf(pChip,"\tPLLA Freq: %3.03f MHz\n",
@@ -1945,7 +1945,7 @@ sam3_page_read( struct sam3_bank_private *pPrivate, unsigned pagenum, uint8_t *b
// The code below is basically this:
// compiled with
-// arm-none-eabi-gcc -mthumb -mcpu=cortex-m3 -O9 -S ./foobar.c -o foobar.s
+// arm-none-eabi-gcc -mthumb -mcpu = cortex-m3 -O9 -S ./foobar.c -o foobar.s
//
// Only the *CPU* can write to the flash buffer.
// the DAP cannot... so - we download this 28byte thing
@@ -2185,7 +2185,7 @@ sam3_write(struct flash_bank_s *bank,
// intermediate large pages
// also - the final *terminal*
// if that terminal page is a full page
- LOG_DEBUG("Full Page Loop: cur=%d, end=%d, count=0x%08x",
+ LOG_DEBUG("Full Page Loop: cur=%d, end=%d, count = 0x%08x",
(int)page_cur, (int)page_end, (unsigned int)(count) );
while ( (page_cur < page_end) &&
@@ -2201,7 +2201,7 @@ sam3_write(struct flash_bank_s *bank,
// terminal partial page?
if ( count ){
- LOG_DEBUG("Terminal partial page, count=0x%08x", (unsigned int)(count));
+ LOG_DEBUG("Terminal partial page, count = 0x%08x", (unsigned int)(count));
// we have a partial page
r = sam3_page_read( pPrivate, page_cur, pagebuffer );
if ( r != ERROR_OK ){
diff --git a/src/helper/membuf.h b/src/helper/membuf.h
index 4990854..b45850f 100644
--- a/src/helper/membuf.h
+++ b/src/helper/membuf.h
@@ -80,7 +80,7 @@ int membuf_vsprintf( struct membuf *pBuf , const char *fmt, va_list ap);
* @param pBuf - buffer to tokenize
* @param delim - delimiter parameter for strtok_r()
*
- * Identical to "strtok()" - pass "pBuff=NULL" on second call
+ * Identical to "strtok()" - pass "pBuff = NULL" on second call
*
* NOTE: This call is <b>destructive</b> to the buffer.
*/