mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
Add IT87xx SPI as external flasher option
This is a fast way to test if a IT87xx board_enable() would work. Corresponding to flashrom svn r557. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested-by: Harald Gutmann <harald.gutmann@gmx.net> Acked-by: Harald Gutmann <harald.gutmann@gmx.net>
This commit is contained in:
2
flash.h
2
flash.h
@ -84,6 +84,7 @@ extern int programmer;
|
||||
#define PROGRAMMER_DUMMY 0x01
|
||||
#define PROGRAMMER_NIC3COM 0x02
|
||||
#define PROGRAMMER_SATASII 0x03
|
||||
#define PROGRAMMER_IT87SPI 0x04
|
||||
|
||||
struct programmer_entry {
|
||||
const char *vendor;
|
||||
@ -752,6 +753,7 @@ int ich_spi_write_256(struct flashchip *flash, uint8_t * buf);
|
||||
extern uint16_t it8716f_flashport;
|
||||
void enter_conf_mode_ite(uint16_t port);
|
||||
void exit_conf_mode_ite(uint16_t port);
|
||||
int it87spi_init(void);
|
||||
int it87xx_probe_spi_flash(const char *name);
|
||||
int it8716f_spi_command(unsigned int writecnt, unsigned int readcnt,
|
||||
const unsigned char *writearr, unsigned char *readarr);
|
||||
|
Reference in New Issue
Block a user