diff options
author | Luca Lindhorst <l.lindhorst@wut.de> | 2020-12-03 12:34:41 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-12-26 15:47:31 +0000 |
commit | 4bc8fd24fb7670065fb4fb0077217d0b8cbcfa45 (patch) | |
tree | d5187f2ff5583fca1631911dfd66a192b45f714f /src | |
parent | 0dd3b7fa6c7930446967772832a351e90c426d69 (diff) | |
download | riscv-openocd-4bc8fd24fb7670065fb4fb0077217d0b8cbcfa45.zip riscv-openocd-4bc8fd24fb7670065fb4fb0077217d0b8cbcfa45.tar.gz riscv-openocd-4bc8fd24fb7670065fb4fb0077217d0b8cbcfa45.tar.bz2 |
Correct warning message
The warning message regarding wrong verification checksum for LPC2000, claims that the verification will fail, but the checksum written correctly by openocd. Clarify this in the warning message.
Change-Id: I929ac767f7f9fdad9bace250c8c04a776462800a
Signed-off-by: Luca Lindhorst <l.lindhorst@wut.de>
Reviewed-on: http://openocd.zylin.com/5956
Tested-by: jenkins
Reviewed-by: Jonathan McDowell <noodles-openocd@earth.li>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/flash/nor/lpc2000.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c index 942ef55..3ad62d6 100644 --- a/src/flash/nor/lpc2000.c +++ b/src/flash/nor/lpc2000.c @@ -1103,9 +1103,9 @@ static int lpc2000_write(struct flash_bank *bank, const uint8_t *buffer, uint32_ uint32_t original_value = buf_get_u32(buffer + (lpc2000_info->checksum_vector * 4), 0, 32); if (original_value != checksum) { - LOG_WARNING("Verification will fail since checksum in image (0x%8.8" PRIx32 ") to be written to flash is " + LOG_WARNING("Boot verification checksum in image (0x%8.8" PRIx32 ") to be written to flash is " "different from calculated vector checksum (0x%8.8" PRIx32 ").", original_value, checksum); - LOG_WARNING("To remove this warning modify build tools on developer PC to inject correct LPC vector " + LOG_WARNING("OpenOCD will write the correct checksum. To remove this warning modify build tools on developer PC to inject correct LPC vector " "checksum."); } |