riscv: Minor formatting cleanup.
Change-Id: I0256fd047d8369ca7b327172225a9d1f827673c5 Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
parent
088a3596a0
commit
0f12a01007
|
@ -2467,15 +2467,13 @@ static int execute_fence(struct target *target)
|
||||||
|
|
||||||
/* FIXME: For non-coherent systems we need to flush the caches right
|
/* FIXME: For non-coherent systems we need to flush the caches right
|
||||||
* here, but there's no ISA-defined way of doing that. */
|
* here, but there's no ISA-defined way of doing that. */
|
||||||
{
|
|
||||||
struct riscv_program program;
|
struct riscv_program program;
|
||||||
riscv_program_init(&program, target);
|
riscv_program_init(&program, target);
|
||||||
riscv_program_fence_i(&program);
|
riscv_program_fence_i(&program);
|
||||||
riscv_program_fence(&program);
|
riscv_program_fence(&program);
|
||||||
int result = riscv_program_exec(&program, target);
|
int result = riscv_program_exec(&program, target);
|
||||||
if (result != ERROR_OK)
|
if (result != ERROR_OK)
|
||||||
LOG_DEBUG("Unable to execute pre-fence");
|
LOG_TARGET_DEBUG(target, "Unable to execute pre-fence");
|
||||||
}
|
|
||||||
|
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue