flash/nor/stm32h7x: Change 'option_read' output

Remove the verbose command output to enable processing with Tcl.

Change-Id: Ic552747b78e4c095a267275e0affd3b9643657b4
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/9001
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Marc Schink
2025-07-13 19:56:55 +00:00
committed by Antonio Borneo
parent dc187298ea
commit 55e9160509

View File

@@ -1237,10 +1237,9 @@ COMMAND_HANDLER(stm32h7_handle_option_read_command)
if (retval != ERROR_OK)
return retval;
command_print(CMD, "Option Register: <0x%" PRIx32 "> = 0x%" PRIx32,
stm32h7_get_flash_reg(bank, reg_offset), value);
command_print(CMD, "0x%" PRIx32, value);
return retval;
return ERROR_OK;
}
COMMAND_HANDLER(stm32h7_handle_option_write_command)