summaryrefslogtreecommitdiff
path: root/bitbang_spi.c
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-07-27 22:41:39 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-07-27 22:41:39 +0000
commitedaaf30e5c36cb944bc3e4053d70f0355263ba27 (patch)
treeadbaace5de6bb0d97a58143c7e3ae775a15d47ff /bitbang_spi.c
parentd7a80a4ebe2bf1f1df95ff18cd47c569bf552066 (diff)
downloadflashrom-edaaf30e5c36cb944bc3e4053d70f0355263ba27.tar.gz
Split off programmer.h from flash.h.
Programmer specific functions are of absolutely no interest to any file except those dealing with programmer specific actions (special SPI commands and the generic core). The new header structure is as follows (and yes, improvements are possible): flashchips.h flash chip IDs chipdrivers.h chip-specific read/write/... functions flash.h common header for all stuff that doesn't fit elsewhere hwaccess.h hardware access functions programmer.h programmer specific functions coreboot_tables.h header from coreboot, internal programmer only spi.h SPI command definitions Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1112 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 b58633a..f697f5a 100644
--- a/bitbang_spi.c
+++ b/bitbang_spi.c
@@ -24,6 +24,7 @@
#include <ctype.h>
#include "flash.h"
#include "chipdrivers.h"
+#include "programmer.h"
#include "spi.h"
/* Length of half a clock period in usecs. */