summaryrefslogtreecommitdiff
path: root/bitbang_spi.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 /bitbang_spi.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 'bitbang_spi.c')
-rw-r--r--bitbang_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbang_spi.c b/bitbang_spi.c
index 8925884..8d6a9a1 100644
--- a/bitbang_spi.c
+++ b/bitbang_spi.c
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <ctype.h>
#include "flash.h"
+#include "chipdrivers.h"
#include "spi.h"
/* Length of half a clock period in usecs */