From 225241817e0781a6c0acae7984d0c186262ea24e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20V=C3=A1zquez=20Blanco?= Date: Mon, 9 Dec 2024 10:18:07 +0100 Subject: [PATCH] Extract programmer declarations to the correct header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib37b33417154f666d7f72a904381cdf32f6ecc77 Signed-off-by: Antonio Vázquez Blanco Reviewed-on: https://review.coreboot.org/c/flashrom/+/85538 Tested-by: build bot (Jenkins) Reviewed-by: Anastasia Klimchuk --- include/flash.h | 2 -- include/programmer.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/flash.h b/include/flash.h index 629ef3a3f..a8451864c 100644 --- a/include/flash.h +++ b/include/flash.h @@ -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_multicommand(const struct flashctx *flash, struct spi_command *cmds); -enum chipbustype get_buses_supported(void); - #endif /* !__FLASH_H__ */ diff --git a/include/programmer.h b/include/programmer.h index babb0bcf5..e0630b887 100644 --- a/include/programmer.h +++ b/include/programmer.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)); } +enum chipbustype get_buses_supported(void); + #endif /* !__PROGRAMMER_H__ */