summaryrefslogtreecommitdiffstats
path: root/sb600spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sb600spi.c')
-rw-r--r--sb600spi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sb600spi.c b/sb600spi.c
index 1efb2ce86..fd9487c36 100644
--- a/sb600spi.c
+++ b/sb600spi.c
@@ -61,7 +61,6 @@ static int spi100_spi_send_command(struct flashctx *flash, unsigned int writecnt
const unsigned char *writearr, unsigned char *readarr);
static struct spi_master spi_master_sb600 = {
- .type = SPI_CONTROLLER_SB600,
.max_data_read = FIFO_SIZE_OLD,
.max_data_write = FIFO_SIZE_OLD - 3,
.command = sb600_spi_send_command,
@@ -72,7 +71,6 @@ static struct spi_master spi_master_sb600 = {
};
static struct spi_master spi_master_yangtze = {
- .type = SPI_CONTROLLER_YANGTZE,
.max_data_read = FIFO_SIZE_YANGTZE - 3, /* Apparently the big SPI 100 buffer is not a ring buffer. */
.max_data_write = FIFO_SIZE_YANGTZE - 3,
.command = spi100_spi_send_command,