X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fspi%2Fsoft_spi_legacy.c;h=941daa730b0a7c6e6b9b7c1326d8526dd480e559;hb=3cbb15d04f77d39e176253c537798f9e66b57082;hp=c969be31eb31828066e2c044c825529d6412db69;hpb=a666f39e4edc2eb6296d7401aab2706d6ae7f459;p=u-boot diff --git a/drivers/spi/soft_spi_legacy.c b/drivers/spi/soft_spi_legacy.c index c969be31eb..941daa730b 100644 --- a/drivers/spi/soft_spi_legacy.c +++ b/drivers/spi/soft_spi_legacy.c @@ -42,11 +42,6 @@ static inline struct soft_spi_slave *to_soft_spi(struct spi_slave *slave) */ void spi_init (void) { -#ifdef SPI_INIT - volatile immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; - - SPI_INIT; -#endif } struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,