diff options
author | Nico Huber <nico.h@gmx.de> | 2017-04-22 00:09:42 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-06-27 10:25:15 +0000 |
commit | deeac7e41a311a0806af0e65a2ce5c6673f9cf92 (patch) | |
tree | 2ff1082bf9ed049c2863deff9a6d66b6980b1812 /buspirate_spi.c | |
parent | 959aafa53eeae4f22766b9d098e5ca952af8c070 (diff) | |
download | flashrom-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 'buspirate_spi.c')
-rw-r--r-- | buspirate_spi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/buspirate_spi.c b/buspirate_spi.c index 09f10c3ab..fb066c2a6 100644 --- a/buspirate_spi.c +++ b/buspirate_spi.c @@ -133,7 +133,6 @@ static int buspirate_spi_send_command_v2(struct flashctx *flash, unsigned int wr const unsigned char *writearr, unsigned char *readarr); static struct spi_master spi_master_buspirate = { - .type = SPI_CONTROLLER_BUSPIRATE, .features = SPI_MASTER_4BA, .max_data_read = MAX_DATA_UNSPECIFIED, .max_data_write = MAX_DATA_UNSPECIFIED, @@ -663,4 +662,4 @@ static int buspirate_spi_send_command_v2(struct flashctx *flash, unsigned int wr memcpy(readarr, bp_commbuf + 1, readcnt); return ret; -}
\ No newline at end of file +} |