1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-10-16 15:21:54 +02:00

spi.h: Move SPI declarations from chipdrivers.h to spi.h

The corresponding functions implementations are already in spi.c,
so the declarations naturally can be in spi.h

Change-Id: I30dcd606b96e651470047d91bc460ac6383be8e8
Signed-off-by: Antonio Vázquez <antoniovazquezblanco@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/89271
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Antonio Vázquez
2025-09-19 10:22:53 +02:00
committed by Anastasia Klimchuk
parent 5a4ea36b12
commit 5f37cfcd31
2 changed files with 5 additions and 6 deletions

View File

@@ -249,4 +249,9 @@ int spi_send_multicommand(const struct flashctx *flash, struct spi_command *cmds
void clear_spi_id_cache(void);
int spi_aai_write(struct flashctx *flash, const uint8_t *buf, unsigned int start, unsigned int len);
int spi_chip_write_256(struct flashctx *flash, const uint8_t *buf, unsigned int start, unsigned int len);
int spi_chip_read(struct flashctx *flash, uint8_t *buf, unsigned int start, int unsigned len);
bool spi_probe_opcode(const struct flashctx *flash, uint8_t opcode);
#endif /* !__SPI_H__ */