summaryrefslogtreecommitdiff
path: root/src/soc/imgtec/pistachio/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/imgtec/pistachio/spi.c')
-rw-r--r--src/soc/imgtec/pistachio/spi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/soc/imgtec/pistachio/spi.c b/src/soc/imgtec/pistachio/spi.c
index bfd982cf62..7e1a7a67f5 100644
--- a/src/soc/imgtec/pistachio/spi.c
+++ b/src/soc/imgtec/pistachio/spi.c
@@ -410,13 +410,6 @@ static int spim_io(const struct spi_slave *slave, struct spim_buffer *first,
return SPIM_OK;
}
-/* Initialization, must be called once on start up */
-void spi_init(void)
-{
- /* Clear everything just in case */
- memset(img_spi_slaves, 0, sizeof(img_spi_slaves));
-}
-
/* Claim the bus and prepare it for communication */
static int spi_ctrlr_claim_bus(const struct spi_slave *slave)
{