openocd/src/flash/nor
Andreas Fritiofson 81b4ef6ee5 stm32f1x: fix bug in flash loader and restrict instruction set to armv6-m
Correct the offset to the read pointer when clearing it on error.

Also restrict the instruction set to armv6-m so the flash driver can be
used on Cortex-M0 parts with the same flash controller.

Change-Id: I380f9dabcc41fb6e4d43a7e02f355e2381913f39
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/399
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2012-01-30 20:01:42 +00:00
..
aduc702x.c nit: more LOG_* \n fixes 2011-01-09 21:35:23 +01:00
at91sam3.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
at91sam7.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
avrf.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
cfi.c Change return value on error. 2012-01-04 17:56:46 +00:00
cfi.h cfi: add EN29LV800BB support 2011-08-18 09:55:44 +01:00
core.c NOR/CORE: fix clang warning 2011-10-23 14:37:48 +00:00
core.h warnings: use more 'const' for char * 2010-12-29 22:07:39 +01:00
driver.h flash: introduce .usage field for nand and nor flash driver structure 2012-01-04 17:15:03 +00:00
drivers.c STM32L: Added flash driver and target 2011-10-03 18:42:39 +02:00
dsp5680xx_flash.c dsp5680xx - indent fix 2011-12-11 18:40:01 +00:00
ecos.c Change return value on error. 2012-01-04 17:56:46 +00:00
em357.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
faux.c Change return value on error. 2012-01-04 17:56:46 +00:00
fm3.c flash: cleanup/reformat fm3 flash driver 2012-01-23 11:48:13 +00:00
imp.h NOR: add read() callback to struct flash_driver 2010-05-16 13:39:47 +02:00
kinetis.c Change return value on error. 2012-01-04 17:56:46 +00:00
lpc288x.c Change return value on error. 2012-01-04 17:56:46 +00:00
lpc2000.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
lpc2900.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
Makefile.am STM32L: Added flash driver and target 2011-10-03 18:42:39 +02:00
non_cfi.c non_cfi: add SST39WF1601 support 2011-08-24 11:12:53 +02:00
non_cfi.h remove flash.h from tree 2009-12-04 16:56:24 -08:00
ocl.c Change return value on error. 2012-01-04 17:56:46 +00:00
ocl.h move nor drivers to src/flash/nor 2009-12-02 23:27:09 -08:00
pic32mx.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
stellaris.c flash: fix stellaris class regression 2012-01-27 19:24:19 +00:00
stm32f1x.c stm32f1x: fix bug in flash loader and restrict instruction set to armv6-m 2012-01-30 20:01:42 +00:00
stm32f2x.c build: fix broken commit 2012-01-12 22:27:52 +00:00
stm32lx.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
stmsmi.c Change return value on error. 2012-01-04 17:56:46 +00:00
str7x.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
str9x.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
str9xpec.c cleanup: rename armv4_5 to arm for readability 2012-01-23 11:38:26 +00:00
tcl.c flash: print bank usage on failure 2012-01-23 11:29:52 +00:00
tms470.c cmd: add missing usage var 2012-01-12 20:45:01 +00:00
virtual.c Change return value on error. 2012-01-04 17:56:46 +00:00