summaryrefslogtreecommitdiff
path: root/common/env_sf.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:00 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:00 +0200
commit2556ef78113b5f089dfcac5da90bf31dd568397b (patch)
tree1408dfcadfd046449060c058631c3938c7843284 /common/env_sf.c
parent0b5099a8419bf9c828df5e3e2c6878dc300d98e3 (diff)
downloadu-boot-imx-2556ef78113b5f089dfcac5da90bf31dd568397b.zip
u-boot-imx-2556ef78113b5f089dfcac5da90bf31dd568397b.tar.gz
u-boot-imx-2556ef78113b5f089dfcac5da90bf31dd568397b.tar.bz2
env_sf: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/env_sf.c')
-rw-r--r--common/env_sf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/env_sf.c b/common/env_sf.c
index a442776..faf6260 100644
--- a/common/env_sf.c
+++ b/common/env_sf.c
@@ -26,9 +26,6 @@
* MA 02111-1307 USA
*/
#include <common.h>
-
-#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
-
#include <environment.h>
#include <spi_flash.h>
@@ -135,5 +132,3 @@ int env_init(void)
return 0;
}
-
-#endif /* CONFIG_ENV_IS_IN_SPI_FLASH */