This is an automated email from Gerrit.

Joakim Nohlgård ([email protected]) 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 <[email protected]>
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 <[email protected]>

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) {

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to