From: Joakim Nohlgård Date: Wed, 12 Apr 2017 08:27:28 +0000 (+0200) Subject: flash Kinetis: reduce a flash write message severity to info X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=668347e8248aa97b2006e08d48fbdddc5931786b;p=fw%2Fopenocd 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 Reviewed-on: http://openocd.zylin.com/4105 Reviewed-by: Tomas Vanek Tested-by: jenkins --- diff --git a/src/flash/nor/kinetis.c b/src/flash/nor/kinetis.c index 49a6e2721..7e9bbdef4 100644 --- a/src/flash/nor/kinetis.c +++ b/src/flash/nor/kinetis.c @@ -1371,7 +1371,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) {