1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

pickit2_spi: use ordinary USB devs array

Even though there is currently only one USB device ID in the wild using our
standard way to define the devices creates nicer output for -L and -z.

Corresponding to flashrom svn r1941.

Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
Stefan Tauner
2016-02-22 08:59:15 +00:00
parent 2a0feae699
commit f31fe841d7
3 changed files with 12 additions and 7 deletions

View File

@ -382,9 +382,8 @@ const struct programmer_entry programmer_table[] = {
#if CONFIG_PICKIT2_SPI == 1
{
.name = "pickit2_spi",
.type = OTHER,
/* FIXME */
.devs.note = "Microchip PICkit2\n",
.type = USB,
.devs.dev = devs_pickit2_spi,
.init = pickit2_spi_init,
.map_flash_region = fallback_map,
.unmap_flash_region = fallback_unmap,