]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/soft_spi.c
common: Move conditional compilation to Makefile
[karo-tx-uboot.git] / common / soft_spi.c
index c13165030db6e5edb71ef78491039977d3ef0ae0..25b589ad7c604dc280c33050c6db4119de1440b6 100644 (file)
@@ -27,8 +27,6 @@
 #include <common.h>
 #include <spi.h>
 
-#if defined(CONFIG_SOFT_SPI)
-
 #include <malloc.h>
 
 /*-----------------------------------------------------------------------
@@ -193,5 +191,3 @@ int  spi_xfer(struct spi_slave *slave, unsigned int bitlen,
 
        return(0);
 }
-
-#endif /* CONFIG_SOFT_SPI */