diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2022-09-11 16:35:54 +0200 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2022-09-27 08:48:52 +0000 |
commit | 3fdd3249b56419ccf45f0859461fe4858cfb8da3 (patch) | |
tree | 1e2d22252e57f1f831c0924f1bfbc7a94987d245 /src | |
parent | 931b357466ba029d9984ade1f1598371e20871f4 (diff) | |
download | riscv-openocd-3fdd3249b56419ccf45f0859461fe4858cfb8da3.zip riscv-openocd-3fdd3249b56419ccf45f0859461fe4858cfb8da3.tar.gz riscv-openocd-3fdd3249b56419ccf45f0859461fe4858cfb8da3.tar.bz2 |
flash/nor/rp2040: use LOG_TARGET_xxx to show core name
Change-Id: Ic76e1c6306ece18b3590beaad4d5b224d4449aa0
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/7188
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
Diffstat (limited to 'src')
-rw-r--r-- | src/flash/nor/rp2040.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/flash/nor/rp2040.c b/src/flash/nor/rp2040.c index f131a30..675f431 100644 --- a/src/flash/nor/rp2040.c +++ b/src/flash/nor/rp2040.c @@ -99,8 +99,7 @@ static int rp2040_call_rom_func(struct target *target, struct rp2040_flash_bank } target_addr_t stacktop = priv->stack->address + priv->stack->size; - LOG_DEBUG("Calling ROM func @0x%" PRIx16 " with %d arguments", func_offset, n_args); - LOG_DEBUG("Calling on core \"%s\"", target->cmd_name); + LOG_TARGET_DEBUG(target, "Calling ROM func @0x%" PRIx16 " with %u arguments", func_offset, n_args); struct reg_param args[ARRAY_SIZE(regnames) + 2]; struct armv7m_algorithm alg_info; |