diff options
author | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2011-08-16 12:08:22 +0000 |
---|---|---|
committer | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2011-08-16 12:08:22 +0000 |
commit | c8cee4443b0acf36dc7b835f6cd2b82b1a17f3df (patch) | |
tree | da1a452c658ecb3120fffe6d084a46a85d5792a4 /sst_fwhub.c | |
parent | 6fd69f0c25c1fdd855af93c073e886d56c01a31b (diff) | |
download | flashrom-c8cee4443b0acf36dc7b835f6cd2b82b1a17f3df.tar.gz |
Remove unneeded inclusions of chipdrivers.h
this is related to the spi split patch as discussed in:
http://www.flashrom.org/pipermail/flashrom/2010-February/thread.html#2364
the old commit (r914) log notes:
"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"
there still remain a few cases where chipdrivers.h is needed:
dediprog.c (spi_read_chunked and spi_write_chunked)
it87spi.c (due to spi_write_enable and spi_read_status_register)
wbsio_spi.c (spi_programmer registration only)
besides that, there are also non-spi files that do not need it.
also, add flash.h to chipdrivers.h because it uses some types of it
and remove flashchips.h from print.c
Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1414 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'sst_fwhub.c')
-rw-r--r-- | sst_fwhub.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sst_fwhub.c b/sst_fwhub.c index 65bd2b3..a11cccb 100644 --- a/sst_fwhub.c +++ b/sst_fwhub.c @@ -23,7 +23,6 @@ /* Adapted from the Intel FW hub stuff for 82802ax parts. */ #include "flash.h" -#include "chipdrivers.h" static int check_sst_fwhub_block_lock(struct flashchip *flash, int offset) { |