Anastasia Klimchuk submitted this change.

View Change

Approvals: Anastasia Klimchuk: Looks good to me, approved build bot (Jenkins): Verified
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>
---
M include/flash.h
M include/programmer.h
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/flash.h b/include/flash.h
index 629ef3a..a845186 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -769,6 +769,4 @@
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 babb0bc..e0630b8 100644
--- a/include/programmer.h
+++ b/include/programmer.h
@@ -526,4 +526,6 @@
(flash->chip->feature_bits & (FEATURE_4BA_ENTER | FEATURE_4BA_ENTER_WREN | FEATURE_4BA_ENTER_EAR7));
}

+enum chipbustype get_buses_supported(void);
+
#endif /* !__PROGRAMMER_H__ */

To view, visit change 85538. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: Ib37b33417154f666d7f72a904381cdf32f6ecc77
Gerrit-Change-Number: 85538
Gerrit-PatchSet: 2
Gerrit-Owner: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>