mirror of
https://review.coreboot.org/flashrom.git
synced 2025-06-30 21:52:36 +02:00
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>
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user