mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
Move SPI declarations from flash.h to spi.h
As a consecuence, some of the files that used to include flash.h no longer need to do so. For this reason, flash.h includes are also deleted in this commit. Change-Id: I794a71536a3b85fde39f83c802fa0f5dd8d428e0 Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/85539 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Peter Marheine <pmarheine@chromium.org> Reviewed-by: David Reguera Garcia (Dreg) <regueragarciadavid@gmail.com> Reviewed-by: Matti Finder <matti.finder@gmail.com>
This commit is contained in:

committed by
Anastasia Klimchuk

parent
971ea27d16
commit
ce825859c4
@ -758,15 +758,4 @@ __attribute__((format(printf, 2, 3)));
|
||||
void init_progress(struct flashctx *flash, enum flashrom_progress_stage stage, size_t total);
|
||||
void update_progress(struct flashctx *flash, enum flashrom_progress_stage stage, size_t increment);
|
||||
|
||||
/* spi.c */
|
||||
struct spi_command {
|
||||
unsigned int writecnt;
|
||||
unsigned int readcnt;
|
||||
const unsigned char *writearr;
|
||||
unsigned char *readarr;
|
||||
};
|
||||
#define NULL_SPI_CMD { 0, 0, NULL, NULL, }
|
||||
int spi_send_command(const struct flashctx *flash, unsigned int writecnt, unsigned int readcnt, const unsigned char *writearr, unsigned char *readarr);
|
||||
int spi_send_multicommand(const struct flashctx *flash, struct spi_command *cmds);
|
||||
|
||||
#endif /* !__FLASH_H__ */
|
||||
|
Reference in New Issue
Block a user