summaryrefslogtreecommitdiffstats
path: root/jlink_spi.c
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-04-22 00:09:42 +0200
committerNico Huber <nico.h@gmx.de>2019-06-27 10:25:15 +0000
commitdeeac7e41a311a0806af0e65a2ce5c6673f9cf92 (patch)
tree2ff1082bf9ed049c2863deff9a6d66b6980b1812 /jlink_spi.c
parent959aafa53eeae4f22766b9d098e5ca952af8c070 (diff)
downloadflashrom-deeac7e41a311a0806af0e65a2ce5c6673f9cf92.tar.gz
flashrom-deeac7e41a311a0806af0e65a2ce5c6673f9cf92.tar.bz2
flashrom-deeac7e41a311a0806af0e65a2ce5c6673f9cf92.zip
spi: Drop spi_controller type
Not needed anymore. Drop it fast before it encourages anyone to violate layers again! Change-Id: I8eda93b429e3ebaef79e22aba76be62987e496f4 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/33651 Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'jlink_spi.c')
-rw-r--r--jlink_spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/jlink_spi.c b/jlink_spi.c
index 08a9ba98c..8a69b41e6 100644
--- a/jlink_spi.c
+++ b/jlink_spi.c
@@ -152,7 +152,6 @@ static int jlink_spi_send_command(struct flashctx *flash, unsigned int writecnt,
}
static const struct spi_master spi_master_jlink_spi = {
- .type = SPI_CONTROLLER_JLINK_SPI,
/* Maximum data read size in one go (excluding opcode+address). */
.max_data_read = JTAG_MAX_TRANSFER_SIZE - 5,
/* Maximum data write size in one go (excluding opcode+address). */