diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/imgtec/pistachio/spi.c | 7 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq40xx/spi.c | 6 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq806x/spi.c | 6 | ||||
-rw-r--r-- | src/soc/samsung/exynos5420/spi.c | 4 |
4 files changed, 0 insertions, 23 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) { diff --git a/src/soc/qualcomm/ipq40xx/spi.c b/src/soc/qualcomm/ipq40xx/spi.c index 157903cf50..3dc6022b03 100644 --- a/src/soc/qualcomm/ipq40xx/spi.c +++ b/src/soc/qualcomm/ipq40xx/spi.c @@ -201,12 +201,6 @@ static void spi_reset(struct ipq_spi_slave *ds) static struct ipq_spi_slave spi_slave_pool[2]; -void spi_init(void) -{ - /* just in case */ - memset(spi_slave_pool, 0, sizeof(spi_slave_pool)); -} - static struct ipq_spi_slave *to_ipq_spi(const struct spi_slave *slave) { struct ipq_spi_slave *ds; diff --git a/src/soc/qualcomm/ipq806x/spi.c b/src/soc/qualcomm/ipq806x/spi.c index c20ad9a325..f9a89fcfed 100644 --- a/src/soc/qualcomm/ipq806x/spi.c +++ b/src/soc/qualcomm/ipq806x/spi.c @@ -493,12 +493,6 @@ static const struct gsbi_spi spi_reg[] = { }; static struct ipq_spi_slave spi_slave_pool[2]; -void spi_init() -{ - /* just in case */ - memset(spi_slave_pool, 0, sizeof(spi_slave_pool)); -} - static struct ipq_spi_slave *to_ipq_spi(const struct spi_slave *slave) { struct ipq_spi_slave *ds; diff --git a/src/soc/samsung/exynos5420/spi.c b/src/soc/samsung/exynos5420/spi.c index fa53c0f4a0..2023b10130 100644 --- a/src/soc/samsung/exynos5420/spi.c +++ b/src/soc/samsung/exynos5420/spi.c @@ -95,10 +95,6 @@ static void spi_sw_reset(struct exynos_spi *regs, int word) setbits_le32(®s->ch_cfg, SPI_RX_CH_ON | SPI_TX_CH_ON); } -void spi_init(void) -{ -} - static void exynos_spi_init(struct exynos_spi *regs) { // Set FB_CLK_SEL. |