diff options
author | Joakim Nohlgård <joakim.nohlgard@eistec.se> | 2017-04-12 10:27:28 +0200 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2017-04-23 20:49:22 +0100 |
commit | 668347e8248aa97b2006e08d48fbdddc5931786b (patch) | |
tree | 720e034cb84fbe6cdd2541a4baed1d19b4868067 | |
parent | 518fcd38834ef2f7b19707ccaa52914c2bea9f91 (diff) | |
download | riscv-openocd-668347e8248aa97b2006e08d48fbdddc5931786b.zip riscv-openocd-668347e8248aa97b2006e08d48fbdddc5931786b.tar.gz riscv-openocd-668347e8248aa97b2006e08d48fbdddc5931786b.tar.bz2 |
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 <joakim.nohlgard@eistec.se>
Reviewed-on: http://openocd.zylin.com/4105
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
-rw-r--r-- | src/flash/nor/kinetis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/kinetis.c b/src/flash/nor/kinetis.c index 49a6e27..7e9bbde 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) { |