flash: add padded_value cmd 35/1635/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 19 Sep 2013 11:07:06 +0000 (12:07 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 7 Oct 2013 19:28:19 +0000 (19:28 +0000)
commit1f3ca0b5b81d9f9e4565cf177797a17ad37ef2c3
treea5352260d013eb75ee04c864ba2c2ea2c2f6ee56
parent53ca124a754fd0d2bb18fb26ac69c5654c81117d
flash: add padded_value cmd

This adds support for setting the default value used when padding image
sections. Previously 0xff was used but some targets have an erased value
of 0x00.

Change-Id: If3df6fea3abf95b09daa3ff7be362acf991070ce
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1635
Tested-by: jenkins
doc/openocd.texi
src/flash/nor/core.c
src/flash/nor/core.h
src/flash/nor/tcl.c
src/flash/nor/virtual.c