summaryrefslogtreecommitdiff
path: root/src/drivers/spi
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi')
-rw-r--r--src/drivers/spi/spi_flash.c2
-rw-r--r--src/drivers/spi/spi_sdcard.c1
-rw-r--r--src/drivers/spi/tpm/tis.c1
-rw-r--r--src/drivers/spi/tpm/tpm.h1
4 files changed, 0 insertions, 5 deletions
diff --git a/src/drivers/spi/spi_flash.c b/src/drivers/spi/spi_flash.c
index 372575e2d9..f2610a181d 100644
--- a/src/drivers/spi/spi_flash.c
+++ b/src/drivers/spi/spi_flash.c
@@ -373,7 +373,6 @@ static const struct spi_flash_part_id *find_part(const struct spi_flash_vendor_i
[1] = id[1] & vi->match_id_mask[1],
};
-
for (i = 0; i < vi->nr_part_ids; i++) {
const struct spi_flash_part_id *part = &vi->ids[i];
@@ -666,7 +665,6 @@ void lb_spi_flash(struct lb_header *header)
}
}
-
int spi_flash_ctrlr_protect_region(const struct spi_flash *flash,
const struct region *region,
const enum ctrlr_prot_type type)
diff --git a/src/drivers/spi/spi_sdcard.c b/src/drivers/spi/spi_sdcard.c
index 5d0a71b4f5..4eb033e87e 100644
--- a/src/drivers/spi/spi_sdcard.c
+++ b/src/drivers/spi/spi_sdcard.c
@@ -358,7 +358,6 @@ static int spi_sdcard_do_app_command(const struct spi_sdcard *card,
return spi_sdcard_do_command_help(card, 1, cmd, argument, out_register);
}
-
size_t spi_sdcard_size(const struct spi_sdcard *card)
{
int wait;
diff --git a/src/drivers/spi/tpm/tis.c b/src/drivers/spi/tpm/tis.c
index 6849ea7bf0..2554cf717c 100644
--- a/src/drivers/spi/tpm/tis.c
+++ b/src/drivers/spi/tpm/tis.c
@@ -75,7 +75,6 @@ int tis_init(void)
return 0;
}
-
int tis_sendrecv(const uint8_t *sendbuf, size_t sbuf_size,
uint8_t *recvbuf, size_t *rbuf_len)
{
diff --git a/src/drivers/spi/tpm/tpm.h b/src/drivers/spi/tpm/tpm.h
index 39d54e74b3..f48943e020 100644
--- a/src/drivers/spi/tpm/tpm.h
+++ b/src/drivers/spi/tpm/tpm.h
@@ -32,7 +32,6 @@ struct cr50_firmware_version {
*/
int tpm2_init(struct spi_slave *spi_if);
-
/*
* Each command processing consists of sending the command to the TPM, by
* writing it into the FIFO register, then polling the status register until