]> git.sur5r.net Git - openocd/commit
Kinetis: properly pad flash section writes
authorTomas Vanek <vanekt@fbl.cz>
Fri, 2 Oct 2015 12:31:30 +0000 (14:31 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Thu, 5 Nov 2015 22:14:46 +0000 (22:14 +0000)
commita780e412cc9daf7b46c107e190710f0b6c1ac1ad
treec85dc9c3e61895352eaafdcde7d2d9d061b1b784
parent5355ec627f9791dc82e8d6e7135ec77756731ab0
Kinetis: properly pad flash section writes

kinetis_write() with byte count not divisible by prog_section_chunk_bytes
computed wrong wc and therefore paded section chunk by some
random data instead of 0xff

Change-Id: Ic7c66d8a3ceacda9e611e98b9fbf943b8001774b
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/2994
Tested-by: jenkins
Reviewed-by: Thomas Schmid <thomas@rfranging.com>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/flash/nor/kinetis.c