riscv-openocd/src
Tomas Vanek 93bc4ec40f flash/nor: fix doc/help and range test for flash protect
Commit 77a1c01ccb introduced infrastructure
for utilizing protection blocks of different size than erase sector.
Parts of doc/help kept reading 'sector' instead of 'protection block'.
flash_driver_protect() parameter range testing did not switched
to bank->num_prot_blocks.
This change fixes it.

Change-Id: Iec301761190a1a1bcc4cb005a519b9e5e4fede51
Reported-by: Mark Odell <mark@odell.ws>
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/3917
Tested-by: jenkins
Reviewed-by: Mark Odell <mrfirmware@gmail.com>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2017-01-15 11:01:36 +00:00
..
flash flash/nor: fix doc/help and range test for flash protect 2017-01-15 11:01:36 +00:00
helper helper,rtos,server: Restore missing warning flags 2017-01-15 10:16:16 +00:00
jtag jtag: drivers: build usb_blaster only if enabled 2017-01-15 10:14:53 +00:00
pld Convert to non-recursive make 2016-12-08 16:23:10 +00:00
rtos helper,rtos,server: Restore missing warning flags 2017-01-15 10:16:16 +00:00
server helper,rtos,server: Restore missing warning flags 2017-01-15 10:16:16 +00:00
svf Convert to non-recursive make 2016-12-08 16:23:10 +00:00
target adi_v5_jtag: make sure SSTICKYERR is cleared after a POR 2017-01-15 11:00:32 +00:00
transport Convert to non-recursive make 2016-12-08 16:23:10 +00:00
xsvf Convert to non-recursive make 2016-12-08 16:23:10 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.c Remove build date from banner for releases 2016-12-08 12:55:19 +00:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00