Added SPIFI flash driver, algorithms, and docs
commit516719b6b8ac35c14396f9a0cbdc355be4e45c10
authorGeorge Harris <george@luminairecoffee.com>
Fri, 17 Aug 2012 00:53:32 +0000 (16 17:53 -0700)
committerFreddie Chopin <freddie.chopin@gmail.com>
Wed, 26 Sep 2012 16:17:42 +0000 (26 16:17 +0000)
tree0d814e03920fe7f1253af49728561ea794f908f6
parent15e19011eae841ca4688f1a6053a4d76419bf10e
Added SPIFI flash driver, algorithms, and docs

Added a flash driver designed to allow program/erase of
memory-mapped SPI flash chips for LPC43xx/LPC18xx family
micros. This driver includes three algorithms - erase,
write, and SPIFI peripheral initialization (to allow
memory-mapped access after a reset). The driver has been
added to the flash driver table (drivers.c), and the
OpenOCD documentation has been updated to include the flash
driver configuration command.

Change-Id: I79f4ff8f1f07de4e5f2fe4f8c23aeb903f868514
Signed-off-by: George Harris <george@luminairecoffee.com>
Reviewed-on: http://openocd.zylin.com/783
Tested-by: jenkins
Reviewed-by: Aurelien Jacobs <aurel@gnuage.org>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
contrib/loaders/flash/lpcspifi_erase.S [new file with mode: 0644]
contrib/loaders/flash/lpcspifi_init.S [new file with mode: 0644]
contrib/loaders/flash/lpcspifi_write.S [new file with mode: 0644]
doc/openocd.texi
src/flash/nor/Makefile.am
src/flash/nor/drivers.c
src/flash/nor/lpcspifi.c [new file with mode: 0644]
tcl/board/lpc4350_spifi_generic.cfg [new file with mode: 0644]