Commit 5e53d488 authored by zwelch's avatar zwelch
Browse files

- Fixes '=' whitespace

- Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'.


git-svn-id: svn://svn.berlios.de/openocd/trunk@2391 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent e47be43e
...@@ -756,7 +756,7 @@ FLASHD_ReadUniqueID ( struct sam3_bank_private *pPrivate ) ...@@ -756,7 +756,7 @@ FLASHD_ReadUniqueID ( struct sam3_bank_private *pPrivate )
} }
r = EFC_PerformCommand( pPrivate, AT91C_EFC_FCMD_SPUI, 0, NULL ); 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, r,
(unsigned int)(pPrivate->pChip->cfg.unique_id[0]), (unsigned int)(pPrivate->pChip->cfg.unique_id[0]),
(unsigned int)(pPrivate->pChip->cfg.unique_id[1]), (unsigned int)(pPrivate->pChip->cfg.unique_id[1]),
...@@ -1272,9 +1272,9 @@ sam3_explain_ckgr_plla( struct sam3_chip *pChip ) ...@@ -1272,9 +1272,9 @@ sam3_explain_ckgr_plla( struct sam3_chip *pChip )
sam3_sprintf(pChip,"\n"); sam3_sprintf(pChip,"\n");
pChip->cfg.plla_freq = 0; pChip->cfg.plla_freq = 0;
if ( mula == 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 ){ } 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 ){ } else if ( diva == 1 ){
pChip->cfg.plla_freq = (pChip->cfg.mainosc_freq * (mula+1)); pChip->cfg.plla_freq = (pChip->cfg.mainosc_freq * (mula+1));
sam3_sprintf(pChip,"\tPLLA Freq: %3.03f MHz\n", 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 ...@@ -1945,7 +1945,7 @@ sam3_page_read( struct sam3_bank_private *pPrivate, unsigned pagenum, uint8_t *b
// The code below is basically this: // The code below is basically this:
// compiled with // 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. // Only the *CPU* can write to the flash buffer.
// the DAP cannot... so - we download this 28byte thing // the DAP cannot... so - we download this 28byte thing
...@@ -2185,7 +2185,7 @@ sam3_write(struct flash_bank_s *bank, ...@@ -2185,7 +2185,7 @@ sam3_write(struct flash_bank_s *bank,
// intermediate large pages // intermediate large pages
// also - the final *terminal* // also - the final *terminal*
// if that terminal page is a full page // 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) ); (int)page_cur, (int)page_end, (unsigned int)(count) );
while ( (page_cur < page_end) && while ( (page_cur < page_end) &&
...@@ -2201,7 +2201,7 @@ sam3_write(struct flash_bank_s *bank, ...@@ -2201,7 +2201,7 @@ sam3_write(struct flash_bank_s *bank,
// terminal partial page? // terminal partial page?
if ( count ){ 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 // we have a partial page
r = sam3_page_read( pPrivate, page_cur, pagebuffer ); r = sam3_page_read( pPrivate, page_cur, pagebuffer );
if ( r != ERROR_OK ){ if ( r != ERROR_OK ){
......
...@@ -80,7 +80,7 @@ int membuf_vsprintf( struct membuf *pBuf , const char *fmt, va_list ap); ...@@ -80,7 +80,7 @@ int membuf_vsprintf( struct membuf *pBuf , const char *fmt, va_list ap);
* @param pBuf - buffer to tokenize * @param pBuf - buffer to tokenize
* @param delim - delimiter parameter for strtok_r() * @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. * NOTE: This call is <b>destructive</b> to the buffer.
*/ */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment