summaryrefslogtreecommitdiff
path: root/sst28sf040.c
diff options
context:
space:
mode:
authorsnelson <snelson@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-02-26 05:48:29 +0000
committersnelson <snelson@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-02-26 05:48:29 +0000
commitb441e7ba021810f88eb131eda617bae3d191a972 (patch)
treecd0212ae1ffe83aaea0a5ca9f5e2be86615c471a /sst28sf040.c
parent9874a59733cbfadfb8c788241c72119993b74981 (diff)
downloadflashrom-b441e7ba021810f88eb131eda617bae3d191a972.tar.gz
Split spi.c into programmer and chip code
Remove chipdriver.h include from flash.h Some of the spi programmer drivers required chipdrivers.h, needs fixing later: it87spi.c ichspi.c sb600spi.c wbsio_spi.c buspirate_spi.c ft2232spi.c bitbang_spi.c dediprog.c Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@914 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'sst28sf040.c')
-rw-r--r--sst28sf040.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sst28sf040.c b/sst28sf040.c
index f253e39..bbb9d56 100644
--- a/sst28sf040.c
+++ b/sst28sf040.c
@@ -21,6 +21,7 @@
*/
#include "flash.h"
+#include "chipdrivers.h"
#define AUTO_PG_ERASE1 0x20
#define AUTO_PG_ERASE2 0xD0