diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-08-16 12:08:22 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-08-16 12:08:22 +0000 |
commit | a63c7c449646147efe2bdeb80efeed479dc1d328 (patch) | |
tree | da1a452c658ecb3120fffe6d084a46a85d5792a4 /it85spi.c | |
parent | 082c8b559cd9f3262c9af58ac2f17f2cc8a09d8b (diff) | |
download | flashrom-a63c7c449646147efe2bdeb80efeed479dc1d328.tar.gz flashrom-a63c7c449646147efe2bdeb80efeed479dc1d328.tar.bz2 flashrom-a63c7c449646147efe2bdeb80efeed479dc1d328.zip |
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
Corresponding to flashrom svn r1414.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'it85spi.c')
-rw-r--r-- | it85spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -30,7 +30,6 @@ #include <stdio.h> #include <stdlib.h> #include "flash.h" -#include "chipdrivers.h" #include "spi.h" #include "programmer.h" |