summaryrefslogtreecommitdiffstats
path: root/common/env_nand.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:59 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:59 +0200
commit06f61354397911a4c121dfa51b6ccbf7e300d48b (patch)
tree9a4d829a3119f44fa00c253c0acbc33c7316fdd5 /common/env_nand.c
parent51bfee192099206a4397f15f3b93516e01f58ab0 (diff)
downloadbootable_bootloader_goldelico_gta04-06f61354397911a4c121dfa51b6ccbf7e300d48b.zip
bootable_bootloader_goldelico_gta04-06f61354397911a4c121dfa51b6ccbf7e300d48b.tar.gz
bootable_bootloader_goldelico_gta04-06f61354397911a4c121dfa51b6ccbf7e300d48b.tar.bz2
env_nand: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/env_nand.c')
-rw-r--r--common/env_nand.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/env_nand.c b/common/env_nand.c
index 53e3183..9d01d7c 100644
--- a/common/env_nand.c
+++ b/common/env_nand.c
@@ -33,9 +33,6 @@
/* #define DEBUG */
#include <common.h>
-
-#if defined(CONFIG_ENV_IS_IN_NAND) /* Environment is in Nand Flash */
-
#include <command.h>
#include <environment.h>
#include <linux/stddef.h>
@@ -366,5 +363,3 @@ static void use_default()
set_default_env();
}
#endif
-
-#endif /* CONFIG_ENV_IS_IN_NAND */