diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-07-27 22:41:39 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-07-27 22:41:39 +0000 |
commit | 5b997c3ed66ddbbb9470f27d4e27ab4c263bc9cf (patch) | |
tree | adbaace5de6bb0d97a58143c7e3ae775a15d47ff /nicnatsemi.c | |
parent | 1d3a2fefbc636fb569bd1d018fb97b1b17c08e99 (diff) | |
download | flashrom-5b997c3ed66ddbbb9470f27d4e27ab4c263bc9cf.tar.gz flashrom-5b997c3ed66ddbbb9470f27d4e27ab4c263bc9cf.tar.bz2 flashrom-5b997c3ed66ddbbb9470f27d4e27ab4c263bc9cf.zip |
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 'nicnatsemi.c')
-rw-r--r-- | nicnatsemi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nicnatsemi.c b/nicnatsemi.c index 89a0bf426..193a86e47 100644 --- a/nicnatsemi.c +++ b/nicnatsemi.c @@ -22,6 +22,7 @@ #include <stdlib.h> #include "flash.h" +#include "programmer.h" #define PCI_VENDOR_ID_NATSEMI 0x100b |