SPI nor drivers refactor
commit15e19011eae841ca4688f1a6053a4d76419bf10e
authorGeorge Harris <george@luminairecoffee.com>
Fri, 17 Aug 2012 00:35:39 +0000 (16 17:35 -0700)
committerFreddie Chopin <freddie.chopin@gmail.com>
Wed, 26 Sep 2012 16:17:21 +0000 (26 16:17 +0000)
tree10533f89b6612b1aa9bb214ae4b2bf555ac00751
parentfe52282c37cc0c4ab9863e95ef6970e6fad540b4
SPI nor drivers refactor

Moved common SPI flash driver code (device table,
common commands) into flash/nor/spi.c and spi.h.
Updated flash/nor/stmsmi.c to reflect this refactor.

Change-Id: I141644b0af71d3835f29f06dd15b505a00e5b6ec
Signed-off-by: George Harris <george@luminairecoffee.com>
Reviewed-on: http://openocd.zylin.com/782
Tested-by: jenkins
Reviewed-by: Aurelien Jacobs <aurel@gnuage.org>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/flash/nor/Makefile.am
src/flash/nor/spi.c [new file with mode: 0644]
src/flash/nor/spi.h [new file with mode: 0644]
src/flash/nor/stmsmi.c