Discussion:
[OpenOCD-devel] [PATCH]: 6771a14 flash Kinetis: reduce a flash write message severity to info
gerrit
2017-04-12 09:02:02 UTC
Permalink
This is an automated email from Gerrit.

Joakim Nohlgård (***@eistec.se) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4105

-- gerrit

commit 6771a141872f9984e44e68c82d7f7ca810404ecd
Author: Joakim Nohlgård <***@eistec.se>
Date: Wed Apr 12 10:27:28 2017 +0200

flash Kinetis: reduce a flash write message severity to info

There is nothing the user can do if their device does not support sector
programming, there is no reason to have this message at warning level.

Change-Id: Ic9b7386e59b64fece7fbfdc543bdfeeed3eae73d
Signed-off-by: Joakim Nohlgård <***@eistec.se>

diff --git a/src/flash/nor/kinetis.c b/src/flash/nor/kinetis.c
index d01cec2..c032f24 100644
--- a/src/flash/nor/kinetis.c
+++ b/src/flash/nor/kinetis.c
@@ -1372,7 +1372,7 @@ static int kinetis_write_inner(struct flash_bank *bank, const uint8_t *buffer,
if (!(kinfo->flash_support & FS_PROGRAM_SECTOR)) {
/* fallback to longword write */
fallback = 1;
- LOG_WARNING("This device supports Program Longword execution only.");
+ LOG_INFO("This device supports Program Longword execution only.");
} else {
result = kinetis_make_ram_ready(bank->target);
if (result != ERROR_OK) {

--

Loading...