openocd/src
Tomas Vanek 77a1c01ccb flash/nor: implement protection blocks of different size than erase sector
Originally flash/nor infrastructure assumed protection blocks identical
to erase sectors. This assumption is not valid for many flash types.
Driver code fixed the problem either by increasing sector size to
size of protection block or by defining more protection block than
really existed in device. Both cases had drawbacks.

The change retains compatibility with the old driver.
Updated driver can set protection blocks table independent
of sector table.

Change-Id: I27f6d267528ad9ed9fe0a85f05436a8ec17603a4
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/3545
Tested-by: jenkins
Reviewed-by: Steven Stallion <stallion@squareup.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-08-14 09:16:54 +01:00
..
flash flash/nor: implement protection blocks of different size than erase sector 2016-08-14 09:16:54 +01:00
helper Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
jtag ftdi: Added a method to read the signal values 2016-08-14 02:08:13 +01:00
pld Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos rtos: remove display_str member 2016-08-14 01:38:12 +01:00
server gdb_server: support disabling server 2016-08-14 02:01:05 +01:00
svf Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
target target: check late abort from target in async_algorithm 2016-08-13 09:39:01 +01:00
transport Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
xsvf Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
Makefile.am Makefile.am: link libusb-1.0 after libusb-0.1 to fix dependencies 2015-02-04 21:56:45 +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 FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00