mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Add spi_nbyte_program as generic function to the SPI layer
Corresponding to flashrom svn r583. Signed-off-by: Paul Fox <pgf@laptop.org> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:

committed by
Carl-Daniel Hailfinger

parent
d51410c3ae
commit
eb3acef863
1
flash.h
1
flash.h
@ -757,6 +757,7 @@ int spi_chip_read(struct flashchip *flash, uint8_t *buf);
|
||||
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_aai_write(struct flashchip *flash, uint8_t *buf);
|
||||
uint32_t spi_get_valid_read_addr(void);
|
||||
|
Reference in New Issue
Block a user