summaryrefslogtreecommitdiff
path: root/common/env_flash.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:04 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:04 +0200
commit507641d2491980531932b9f25dab37fe5e6c3a1a (patch)
treeb6f120b6dfc0b90db4d554393a51d6f69e9418cf /common/env_flash.c
parent5a1aceb0689e2f731491838970884a673ef7e7d3 (diff)
downloadu-boot-imx-507641d2491980531932b9f25dab37fe5e6c3a1a.zip
u-boot-imx-507641d2491980531932b9f25dab37fe5e6c3a1a.tar.gz
u-boot-imx-507641d2491980531932b9f25dab37fe5e6c3a1a.tar.bz2
env_flash: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/env_flash.c')
-rw-r--r--common/env_flash.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/env_flash.c b/common/env_flash.c
index c287b17..84166af 100644
--- a/common/env_flash.c
+++ b/common/env_flash.c
@@ -27,9 +27,6 @@
/* #define DEBUG */
#include <common.h>
-
-#if defined(CONFIG_ENV_IS_IN_FLASH) /* Environment is in Flash */
-
#include <command.h>
#include <environment.h>
#include <linux/stddef.h>
@@ -383,5 +380,3 @@ void env_relocate_spec (void)
#endif
#endif /* ! ENV_IS_EMBEDDED || CFG_ENV_ADDR_REDUND */
}
-
-#endif /* CONFIG_ENV_IS_IN_FLASH */