openocd: fix some coding style
Add space around math operators. Change-Id: I50fce3da283a78ba02bf70b6a752f7bf778d79f5 Signed-off-by: Mark Zhuang <mark.zhuang@spacemit.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7585 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
990869f7ec
commit
7957208cf6
|
@ -709,7 +709,7 @@ static int em357_probe(struct flash_bank *bank)
|
|||
|
||||
em357_info->ppage_size = 4;
|
||||
|
||||
LOG_INFO("flash size = %d KiB", num_pages*page_size/1024);
|
||||
LOG_INFO("flash size = %d KiB", num_pages * page_size / 1024);
|
||||
|
||||
free(bank->sectors);
|
||||
|
||||
|
|
|
@ -540,7 +540,7 @@ static void xtensa_queue_exec_ins_wide(struct xtensa *xtensa, uint8_t *ops, uint
|
|||
for (int32_t i = oplenw - 1; i > 0; i--)
|
||||
xtensa_queue_dbg_reg_write(xtensa,
|
||||
XDMREG_DIR0 + i,
|
||||
target_buffer_get_u32(xtensa->target, &ops_padded[sizeof(uint32_t)*i]));
|
||||
target_buffer_get_u32(xtensa->target, &ops_padded[sizeof(uint32_t) * i]));
|
||||
/* Write DIR0EXEC last */
|
||||
xtensa_queue_dbg_reg_write(xtensa,
|
||||
XDMREG_DIR0EXEC,
|
||||
|
|
Loading…
Reference in New Issue