diff options
-rw-r--r-- | flashrom.c | 2 | ||||
-rw-r--r-- | programmer.h | 1 | ||||
-rw-r--r-- | raiden_debug_spi.c | 5 |
3 files changed, 7 insertions, 1 deletions
@@ -137,7 +137,7 @@ const struct programmer_entry programmer_table[] = { { .name = "raiden_debug", .type = USB, - .devs.note = "All programmer devices speaking the raiden protocol\n", + .devs.dev = devs_raiden, .init = raiden_debug_spi_init, .map_flash_region = fallback_map, .unmap_flash_region = fallback_unmap, diff --git a/programmer.h b/programmer.h index 08500c6f..9a41be10 100644 --- a/programmer.h +++ b/programmer.h @@ -407,6 +407,7 @@ extern const struct dev_entry gfx_nvidia[]; /* raiden_debug_spi.c */ #if CONFIG_RAIDEN == 1 int raiden_debug_spi_init(void); +extern const struct dev_entry devs_raiden[]; #endif /* drkaiser.c */ diff --git a/raiden_debug_spi.c b/raiden_debug_spi.c index 69144554..173e3554 100644 --- a/raiden_debug_spi.c +++ b/raiden_debug_spi.c @@ -116,6 +116,11 @@ #include <string.h> #include <unistd.h> +/* FIXME: Add some programmer IDs here */ +const struct dev_entry devs_raiden[] = { + {0}, +}; + #define GOOGLE_VID (0x18D1) #define GOOGLE_RAIDEN_SPI_SUBCLASS (0x51) #define GOOGLE_RAIDEN_SPI_PROTOCOL (0x01) |