mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 22:52:34 +02:00
Extract programmer declarations to the correct header
Change-Id: Ib37b33417154f666d7f72a904381cdf32f6ecc77 Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/85538 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
parent
b792b44e14
commit
225241817e
@ -769,6 +769,4 @@ struct spi_command {
|
|||||||
int spi_send_command(const struct flashctx *flash, unsigned int writecnt, unsigned int readcnt, const unsigned char *writearr, unsigned char *readarr);
|
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);
|
int spi_send_multicommand(const struct flashctx *flash, struct spi_command *cmds);
|
||||||
|
|
||||||
enum chipbustype get_buses_supported(void);
|
|
||||||
|
|
||||||
#endif /* !__FLASH_H__ */
|
#endif /* !__FLASH_H__ */
|
||||||
|
@ -526,4 +526,6 @@ static inline bool spi_chip_4ba(const struct flashctx *const flash)
|
|||||||
(flash->chip->feature_bits & (FEATURE_4BA_ENTER | FEATURE_4BA_ENTER_WREN | FEATURE_4BA_ENTER_EAR7));
|
(flash->chip->feature_bits & (FEATURE_4BA_ENTER | FEATURE_4BA_ENTER_WREN | FEATURE_4BA_ENTER_EAR7));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum chipbustype get_buses_supported(void);
|
||||||
|
|
||||||
#endif /* !__PROGRAMMER_H__ */
|
#endif /* !__PROGRAMMER_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user