From: OpenOCD-Gerrit <ope...@us...> - 2022-10-08 07:53:51
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via cff2cf373f1b86233eb2abab8e590fb0f88c7449 (commit) from 10b08d5ac5086aed3259f4f48a67d8d807c8ef11 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit cff2cf373f1b86233eb2abab8e590fb0f88c7449 Author: Erhan Kurubas <erh...@es...> Date: Wed Sep 28 21:18:49 2022 +0200 target/xtensa: pass correct buffer on read memory retry Read values must be at albuff so that can be copied to buffer on function exit. Signed-off-by: Erhan Kurubas <erh...@es...> Change-Id: I74a533e8f12f1002ca06a98a7c7cd928552b4cc5 Reviewed-on: https://review.openocd.org/c/openocd/+/7226 Tested-by: jenkins Reviewed-by: Ian Thompson <ia...@ca...> Reviewed-by: Antonio Borneo <bor...@gm...> diff --git a/src/target/xtensa/xtensa.c b/src/target/xtensa/xtensa.c index c73b80820..faff0afa8 100644 --- a/src/target/xtensa/xtensa.c +++ b/src/target/xtensa/xtensa.c @@ -1781,9 +1781,9 @@ int xtensa_read_memory(struct target *target, target_addr_t address, uint32_t si if (res != ERROR_OK) { if (xtensa->probe_lsddr32p != 0) { /* Disable fast memory access instructions and retry before reporting an error */ - LOG_TARGET_INFO(target, "Disabling LDDR32.P/SDDR32.P"); + LOG_TARGET_DEBUG(target, "Disabling LDDR32.P/SDDR32.P"); xtensa->probe_lsddr32p = 0; - res = xtensa_read_memory(target, address, size, count, buffer); + res = xtensa_read_memory(target, address, size, count, albuff); bswap = false; } else { LOG_TARGET_WARNING(target, "Failed reading %d bytes at address "TARGET_ADDR_FMT, ----------------------------------------------------------------------- Summary of changes: src/target/xtensa/xtensa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |