1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 06:23:18 +02:00

Add support for National Instruments USB-845x devices

Change-Id: I9477b6f0193bfdf20bbe63421a7fb97b597ec549
Signed-off-by: Miklós Márton <martonmiklosqdev@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/25683
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Miklós Márton
2018-01-30 20:20:15 +01:00
committed by Nico Huber
parent 1a119498b4
commit 2d20d6db39
5 changed files with 792 additions and 1 deletions

View File

@ -120,6 +120,9 @@ enum programmer {
#endif
#if CONFIG_JLINK_SPI == 1
PROGRAMMER_JLINK_SPI,
#endif
#if CONFIG_NI845X_SPI == 1
PROGRAMMER_NI845X_SPI,
#endif
PROGRAMMER_INVALID /* This must always be the last entry. */
};
@ -556,6 +559,11 @@ extern const struct dev_entry devs_digilent_spi[];
int jlink_spi_init(void);
#endif
/* ni845x_spi.c */
#if CONFIG_NI845X_SPI == 1
int ni845x_spi_init(void);
#endif
/* flashrom.c */
struct decode_sizes {
uint32_t parallel;