X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fspi%2Fsoft_spi_legacy.c;h=941daa730b0a7c6e6b9b7c1326d8526dd480e559;hb=7c839ea70c4991e8d4c322e074359ac5e155d59d;hp=c969be31eb31828066e2c044c825529d6412db69;hpb=a666f39e4edc2eb6296d7401aab2706d6ae7f459;p=oweals%2Fu-boot.git 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,