summaryrefslogtreecommitdiffstats
path: root/buspirate_spi.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-27 22:41:39 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-27 22:41:39 +0000
commit6ad3d6126cfc465a0c00d4829d97ebba054f5d1d (patch)
treeadbaace5de6bb0d97a58143c7e3ae775a15d47ff /buspirate_spi.c
parentff026db1abc499fe2c81cea280919c4a05a8b89b (diff)
downloadflashrom-6ad3d6126cfc465a0c00d4829d97ebba054f5d1d.zip
flashrom-6ad3d6126cfc465a0c00d4829d97ebba054f5d1d.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 Corresponding to flashrom svn r1112. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'buspirate_spi.c')
-rw-r--r--buspirate_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/buspirate_spi.c b/buspirate_spi.c
index 55e71c2..97ce220 100644
--- a/buspirate_spi.c
+++ b/buspirate_spi.c
@@ -24,6 +24,7 @@
#include <ctype.h>
#include "flash.h"
#include "chipdrivers.h"
+#include "programmer.h"
#include "spi.h"
/* Change this to #define if you want to test without a serial implementation */
OpenPOWER on IntegriCloud