summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2007-10-15 21:44:47 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2007-10-15 21:44:47 +0000
commit00f911e0a82b5789fd0ffb9feb939c05afef3236 (patch)
tree5952b42e26c6379b00935446a324727b830479eb /flash.h
parentfa496928690b691e085ed97634c45a3b917afc7b (diff)
downloadflashrom-00f911e0a82b5789fd0ffb9feb939c05afef3236.tar.gz
flashrom-00f911e0a82b5789fd0ffb9feb939c05afef3236.tar.bz2
flashrom-00f911e0a82b5789fd0ffb9feb939c05afef3236.zip
Move SPI code out of board_enable.c where it started its life
The SPI chip finding and SPI chip accessor code is moved as well. This can be split later if we feel like it. The non-use of svn cp is intentional because the only history we'd have to preserve are a few commits which were early prototypes of chip identification code. For those who intend to look at that history, they can look at board_enable.c revision 2853. Corresponding to flashrom svn r145 and coreboot v2 svn r2857. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 46f8ad3bd..602982877 100644
--- a/flash.h
+++ b/flash.h
@@ -207,7 +207,9 @@ int handle_romentries(uint8_t *buffer, uint8_t *content);
int linuxbios_init(void);
extern char *lb_part, *lb_vendor;
+/* spi.c */
int probe_spi(struct flashchip *flash);
+int it87xx_probe_serial_flash(const char *name);
/* 82802ab.c */
int probe_82802ab(struct flashchip *flash);