summaryrefslogtreecommitdiff
path: root/include/environment.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-11-27 17:34:10 +0100
committerStefan Roese <sr@denx.de>2006-11-27 17:34:10 +0100
commitd1a72545296800b7e219f93104ad5836f0003d66 (patch)
tree8cd0714208b64a1604ad9921de26c33dbf9e0b12 /include/environment.h
parent3b58d9459081ae33885335c645fc0b865584ae4e (diff)
[PATCH] Select NAND embedded environment from board configuration
The current NAND Bootloader setup forces the environment variables to be in line with the bootloader. This change enables the configuration to be made in the board include file instead so that it can be individually enabled. Signed-off-by: Nick Spence <nick.spence@freescale.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/environment.h')
-rw-r--r--include/environment.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/environment.h b/include/environment.h
index 26b07120da1..af605ab7a9c 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -79,8 +79,7 @@
# ifdef CFG_ENV_OFFSET_REDUND
# define CFG_REDUNDAND_ENVIRONMENT
# endif
-# if defined(CONFIG_NAND_U_BOOT)
-/* Use embedded environment in NAND boot versions */
+# ifdef CFG_ENV_IS_EMBEDDED
# define ENV_IS_EMBEDDED 1
# endif
#endif /* CFG_ENV_IS_IN_NAND */