Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Unified Diff: programmer.h

Issue 6897014: Do not call EC programmer shutdown functions explicitly. (Closed) Base URL: svn://coreboot.org/flashrom/trunk
Patch Set: rename shutdown() to flashrom_shutdown() to avoid conflict with shutdown(2) Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« mec1308.c ('K') | « mec1308.c ('k') | wpce775x.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: programmer.h
diff --git a/programmer.h b/programmer.h
index 373a63df294dc78913950e674f776555198015e8..5159dedb5b1d2385a10ce10cfbf98fb87f425fda 100644
--- a/programmer.h
+++ b/programmer.h
@@ -109,7 +109,7 @@ struct programmer_entry {
extern const struct programmer_entry programmer_table[];
int programmer_init(char *param);
-int programmer_shutdown(void);
+int flashrom_shutdown(void);
Louis 2011/04/26 10:06:06 hm... I am not sure if renaming is a good idea sin
dhendrix 2011/04/27 02:08:06 agreed -- reverted back to original naming for now
enum bitbang_spi_master_type {
BITBANG_SPI_INVALID = 0, /* This must always be the first entry. */
@@ -291,7 +291,7 @@ extern int force_boardenable;
extern int force_boardmismatch;
void probe_superio(void);
int internal_init(void);
-int internal_shutdown(void);
+void internal_shutdown(void *);
void internal_chip_writeb(uint8_t val, chipaddr addr);
void internal_chip_writew(uint16_t val, chipaddr addr);
void internal_chip_writel(uint32_t val, chipaddr addr);
@@ -583,7 +583,6 @@ int ich_spi_send_multicommand(struct spi_command *cmds);
/* it85spi.c */
struct superio probe_superio_ite85xx(void);
int it85xx_spi_init(void);
-int it85xx_shutdown(void);
int it85xx_probe_spi_flash(const char *name);
int it85xx_spi_send_command(unsigned int writecnt, unsigned int readcnt,
const unsigned char *writearr, unsigned char *readarr);
@@ -601,7 +600,6 @@ int it8716f_spi_chip_write_256(struct flashchip *flash, uint8_t *buf, int start,
/* mec1308.c */
struct superio probe_superio_mec1308(void);
-int mec1308_shutdown(void);
int mec1308_probe_spi_flash(const char *name);
int mec1308_spi_read(struct flashchip *flash,
uint8_t * buf, int start, int len);
@@ -645,7 +643,6 @@ typedef int fdtype;
/* wpce775x.c */
struct superio probe_superio_wpce775x(void);
-int wpce775x_shutdown(void);
int wpce775x_probe_spi_flash(const char *name);
int wpce775x_spi_read(struct flashchip *flash,
uint8_t * buf, int start, int len);
« mec1308.c ('K') | « mec1308.c ('k') | wpce775x.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698