mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 06:23:18 +02:00
Add support for STLINK V3 debugger/programmer via its SPI bridge
Change-Id: Icffab87ac8f2c570187ed753ec70f054541873a4 Signed-off-by: Miklós Márton <martonmiklosqdev@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/34661 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
728062f7ff
commit
324929c3d7
@ -123,6 +123,9 @@ enum programmer {
|
||||
#endif
|
||||
#if CONFIG_NI845X_SPI == 1
|
||||
PROGRAMMER_NI845X_SPI,
|
||||
#endif
|
||||
#if CONFIG_STLINKV3_SPI == 1
|
||||
PROGRAMMER_STLINKV3_SPI,
|
||||
#endif
|
||||
PROGRAMMER_INVALID /* This must always be the last entry. */
|
||||
};
|
||||
@ -501,6 +504,12 @@ int pickit2_spi_init(void);
|
||||
extern const struct dev_entry devs_pickit2_spi[];
|
||||
#endif
|
||||
|
||||
/* stlinkv3_spi.c */
|
||||
#if CONFIG_STLINKV3_SPI == 1
|
||||
int stlinkv3_spi_init(void);
|
||||
extern const struct dev_entry devs_stlinkv3_spi[];
|
||||
#endif
|
||||
|
||||
/* rayer_spi.c */
|
||||
#if CONFIG_RAYER_SPI == 1
|
||||
int rayer_spi_init(void);
|
||||
|
Reference in New Issue
Block a user