1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +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:
Nico Huber
2017-04-22 00:09:42 +02:00
parent 959aafa53e
commit deeac7e41a
18 changed files with 1 additions and 80 deletions

View File

@ -1666,7 +1666,6 @@ static void ich9_set_pr(const size_t reg_pr0, int i, int read_prot, int write_pr
}
static const struct spi_master spi_master_ich7 = {
.type = SPI_CONTROLLER_ICH7,
.max_data_read = 64,
.max_data_write = 64,
.command = ich_spi_send_command,
@ -1677,7 +1676,6 @@ static const struct spi_master spi_master_ich7 = {
};
static const struct spi_master spi_master_ich9 = {
.type = SPI_CONTROLLER_ICH9,
.max_data_read = 64,
.max_data_write = 64,
.command = ich_spi_send_command,
@ -1990,7 +1988,6 @@ int ich_init_spi(void *spibar, enum ich_chipset ich_gen)
}
static const struct spi_master spi_master_via = {
.type = SPI_CONTROLLER_VIA,
.max_data_read = 16,
.max_data_write = 16,
.command = ich_spi_send_command,