riscv-openocd/src/flash
oharboe aa46b15377 David Brownell <david-b@pacbell.net>
Optionally shave time off the armv4_5 run_algorithm() code:  let
them terminate using software breakpoints, avoiding roundtrips
to manage hardware ones.

Enable this by using BKPT to terminate execution instead of "branch
to here" loops.  Then pass zero as the exit address, except when
running on an ARMv4 core.  ARM7TDMI, ARM9TDMI, and derived cores
now set a flag saying they're ARMv4.

Use that mechanism in arm_nandwrite(), for about 3% speedup on a
DaVinci ARM926 core; not huge, but it helps.  Some other algorithms
could use this too (mostly flavors of flash operation).

git-svn-id: svn://svn.berlios.de/openocd/trunk@2680 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-09 06:28:49 +00:00
..
ocl/at91sam7x Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
Makefile.am David Brownell 2009-09-03 08:23:39 +00:00
aduc702x.c Fix SEGFAULTs and broken error handling for flash programming w/working area 2009-07-08 18:29:03 +00:00
arm_nandio.c David Brownell <david-b@pacbell.net> 2009-09-09 06:28:49 +00:00
arm_nandio.h David Brownell 2009-09-03 08:23:39 +00:00
at91sam3.c - remove cygwin build warnings in at91sam3.c 2009-06-30 21:13:53 +00:00
at91sam3.h Fix end-of-line style properties on newly added files. 2009-06-24 07:43:18 +00:00
at91sam7.c David Brownell <david-b@pacbell.net> start phasing out integers as target IDs 2009-08-30 17:30:14 +00:00
at91sam7.h Transform 'u32' to 'uint32_t' in src/flash. 2009-06-18 07:10:25 +00:00
avrf.c Remove whitespace that occurs before ')'. 2009-06-23 22:47:42 +00:00
avrf.h Transform 'u16' to 'uint16_t' 2009-06-18 07:07:59 +00:00
cfi.c Michael Schwingen <rincewind@discworld.dascon.de> a small CFI cleanup 2009-08-25 08:21:11 +00:00
cfi.h Transform 'u32' to 'uint32_t' in src/flash. 2009-06-18 07:10:25 +00:00
davinci_nand.c David Brownell 2009-09-03 08:23:39 +00:00
ecos.c Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
flash.c David Brownell <david-b@pacbell.net> Remove duplicate check for flash write status. 2009-08-30 20:04:17 +00:00
flash.h Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
lpc288x.c Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes 2009-07-17 19:54:25 +00:00
lpc288x.h Transform 'u32' to 'uint32_t' in src/flash. 2009-06-18 07:10:25 +00:00
lpc2000.c Audrius Urmanavičius [didele.deze@gmail.com]: 2009-08-13 13:54:53 +00:00
lpc2000.h Audrius Urmanavičius [didele.deze@gmail.com]: 2009-08-13 13:54:53 +00:00
lpc3180_nand_controller.c C99 printf() -Werror fixes 2009-06-21 03:20:31 +00:00
lpc3180_nand_controller.h Transform 'u32' to 'uint32_t' in src/flash. 2009-06-18 07:10:25 +00:00
mflash.c Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
mflash.h - Fixes '+' whitespace 2009-06-23 22:44:17 +00:00
nand.c Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
nand.h David Brownell 2009-09-03 08:23:39 +00:00
nand_ecc.c - Replace 'for(' with 'for ('. 2009-06-23 22:37:21 +00:00
nand_ecc_kw.c Transform 'u16' to 'uint16_t' 2009-06-18 07:07:59 +00:00
non_cfi.c Michael Schwingen <rincewind@discworld.dascon.de> a small CFI cleanup 2009-08-25 08:21:11 +00:00
non_cfi.h Michael Schwingen <rincewind@discworld.dascon.de> a small CFI cleanup 2009-08-25 08:21:11 +00:00
ocl.c - Fixes '[<>]' whitespace 2009-06-23 22:45:47 +00:00
ocl.h - added svn props for newly added files 2008-04-24 11:09:28 +00:00
orion_nand.c David Brownell 2009-09-03 08:23:39 +00:00
pic32mx.c Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
pic32mx.h - Fixes '+' whitespace 2009-06-23 22:44:17 +00:00
s3c24xx_nand.c Transform 'u16' to 'uint16_t' 2009-06-18 07:07:59 +00:00
s3c24xx_nand.h Transform 'u32' to 'uint32_t' in src/flash. 2009-06-18 07:10:25 +00:00
s3c24xx_regs_nand.h - Fixes '<<' whitespace 2009-06-23 22:41:13 +00:00
s3c2410_nand.c Transform 'u16' to 'uint16_t' 2009-06-18 07:07:59 +00:00
s3c2412_nand.c Whitespace cleanup from David Brownell <david-b@pacbell.net> 2009-05-18 04:37:33 +00:00
s3c2440_nand.c Transform 'u32' to 'uint32_t' in src/flash. 2009-06-18 07:10:25 +00:00
s3c2443_nand.c Whitespace cleanup from David Brownell <david-b@pacbell.net> 2009-05-18 04:37:33 +00:00
stellaris.c - fixes the incorrect info msg displayed during stellaris flash programming. 2009-09-01 10:08:41 +00:00
stellaris.h David Brownell <david-b@pacbell.net> Clock updates/fixes for the Stellaris flash driver: 2009-08-26 06:26:29 +00:00
stm32x.c - correct stm32 connectivity line programming as per latest manual 2009-07-01 10:15:53 +00:00
stm32x.h - Fixes '<<' whitespace 2009-06-23 22:41:13 +00:00
str7x.c Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
str7x.h Transform 'u32' to 'uint32_t' in src/flash. 2009-06-18 07:10:25 +00:00
str9x.c Remove whitespace that occurs before ')'. 2009-06-23 22:47:42 +00:00
str9x.h Transform 'u32' to 'uint32_t' in src/flash. 2009-06-18 07:10:25 +00:00
str9xpec.c David Brownell <david-b@pacbell.net>: 2009-06-29 20:03:59 +00:00
str9xpec.h Transform 'u32' to 'uint32_t' in src/flash. 2009-06-18 07:10:25 +00:00
tms470.c Remove whitespace at end of lines, step 1. 2009-06-23 22:49:23 +00:00
tms470.h Transform 'u32' to 'uint32_t' in src/flash. 2009-06-18 07:10:25 +00:00