forked from auracaster/openocd
- Fixes '[<>]' whitespace
- Replace ')\([<>]\)(' with ') \1 ('.
- Replace ')\([<>]\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\([<>]\)(' with '\1 \2 ('.
- Replace '\(\w\)\([<>]\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2375 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -212,7 +212,7 @@ static uint16_t cfi_query_u16(flash_bank_t *bank, int sector, uint32_t offset)
|
||||
if (cfi_info->x16_as_x8)
|
||||
{
|
||||
uint8_t i;
|
||||
for (i = 0;i<2;i++)
|
||||
for (i = 0;i < 2;i++)
|
||||
target_read_memory(target, flash_address(bank, sector, offset + i), bank->bus_width, 1,
|
||||
&data[i*bank->bus_width] );
|
||||
}
|
||||
@@ -234,7 +234,7 @@ static uint32_t cfi_query_u32(flash_bank_t *bank, int sector, uint32_t offset)
|
||||
if (cfi_info->x16_as_x8)
|
||||
{
|
||||
uint8_t i;
|
||||
for (i = 0;i<4;i++)
|
||||
for (i = 0;i < 4;i++)
|
||||
target_read_memory(target, flash_address(bank, sector, offset + i), bank->bus_width, 1,
|
||||
&data[i*bank->bus_width] );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user