summaryrefslogtreecommitdiff
path: root/common/env_dataflash.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:58 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:58 +0200
commitd8cc04d0ac9c7c0d12454708aaf5489f8532bbf9 (patch)
treef95e8d31ec4f7f1aae9fefd0e8f28621aaae7e89 /common/env_dataflash.c
parent057c849c45b9ee19df8ff3acdeee66be52819962 (diff)
downloadu-boot-imx-d8cc04d0ac9c7c0d12454708aaf5489f8532bbf9.zip
u-boot-imx-d8cc04d0ac9c7c0d12454708aaf5489f8532bbf9.tar.gz
u-boot-imx-d8cc04d0ac9c7c0d12454708aaf5489f8532bbf9.tar.bz2
env_dataflash: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/env_dataflash.c')
-rw-r--r--common/env_dataflash.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/env_dataflash.c b/common/env_dataflash.c
index 1d55a27..2254b9b 100644
--- a/common/env_dataflash.c
+++ b/common/env_dataflash.c
@@ -18,9 +18,6 @@
*
*/
#include <common.h>
-
-#if defined(CONFIG_ENV_IS_IN_DATAFLASH) /* Environment is in DataFlash */
-
#include <command.h>
#include <environment.h>
#include <linux/stddef.h>
@@ -100,5 +97,3 @@ int env_init(void)
return (0);
}
-
-#endif /* CONFIG_ENV_IS_IN_DATAFLASH */