openocd/src/flash
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
..
nand Convert to non-recursive make 2016-12-08 16:23:10 +00:00
nor flash/nor: fix doc/help and range test for flash protect 2017-01-15 11:01:36 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
common.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
common.h flash/nor: at91samd protection bits write fix 2016-12-08 12:19:19 +00:00
mflash.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
mflash.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00