flash/nor/tcl: add read_bank and verify_bank
commit3edcb941864d677e30d36ad77c22d86ec7ac8eb3
authorRobert Jordens <jordens@gmail.com>
Wed, 1 Jul 2015 08:55:49 +0000 (1 02:55 -0600)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 6 Aug 2015 12:14:04 +0000 (6 13:14 +0100)
tree81f6af02d4803ffc3bec26577045ddebfb20794b
parent2d99a0defa8fde13d4f421d54dbb6246b908303d
flash/nor/tcl: add read_bank and verify_bank

The only read access to flash chips so is through the target's
memory. Flashes like jtagspi do not expose a memory mapped interface
to the flash. These commands use the flash_driver_read() driver API
directly.

Change-Id: I40b910de650114a3f676507f9f059a234377d862
Signed-off-by: Robert Jordens <jordens@gmail.com>
Reviewed-on: http://openocd.zylin.com/2842
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
doc/openocd.texi
src/flash/nor/tcl.c