Antonio Vázquez Blanco has uploaded this change for review.

View Change

Extract programmer declarations to the correct header

Change-Id: Ib37b33417154f666d7f72a904381cdf32f6ecc77
Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
---
M include/flash.h
M include/programmer.h
2 files changed, 2 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/38/85538/1
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: newchange
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: Ib37b33417154f666d7f72a904381cdf32f6ecc77
Gerrit-Change-Number: 85538
Gerrit-PatchSet: 1
Gerrit-Owner: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>