mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Convert SPI byte program to use the multicommand infrastructure
Tested-by: Jakob Bornecrantz <wallbraker@gmail.com> Corresponding to flashrom svn r651. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested it on Epia-m700 worked okay. Acked-by: Jakob Bornecrantz <wallbraker@gmail.com>
This commit is contained in:
6
flash.h
6
flash.h
@ -446,9 +446,9 @@ int spi_chip_write_256(struct flashchip *flash, uint8_t *buf);
|
||||
int spi_chip_read(struct flashchip *flash, uint8_t *buf, int start, int len);
|
||||
uint8_t spi_read_status_register(void);
|
||||
int spi_disable_blockprotect(void);
|
||||
void spi_byte_program(int address, uint8_t byte);
|
||||
int spi_nbyte_program(int address, uint8_t *bytes, int len);
|
||||
int spi_nbyte_read(int address, uint8_t *bytes, int len);
|
||||
int spi_byte_program(int addr, uint8_t byte);
|
||||
int spi_nbyte_program(int addr, uint8_t *bytes, int len);
|
||||
int spi_nbyte_read(int addr, uint8_t *bytes, int len);
|
||||
int spi_read_chunked(struct flashchip *flash, uint8_t *buf, int start, int len, int chunksize);
|
||||
int spi_aai_write(struct flashchip *flash, uint8_t *buf);
|
||||
uint32_t spi_get_valid_read_addr(void);
|
||||
|
Reference in New Issue
Block a user