summaryrefslogtreecommitdiff
path: root/common/env_flash.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-08 18:10:08 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-08 18:10:08 -0500
commitc3517f919d0f61650cf3027fd4faf0f631142f6c (patch)
tree182ef6971f28188af968fea9fe74ccc5f594d44a /common/env_flash.c
parentfd9bcaa35be64fe41a4223fdb6ecdbad52470b39 (diff)
common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'common/env_flash.c')
-rw-r--r--common/env_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_flash.c b/common/env_flash.c
index f9cf35a184d..3b6c34d9e85 100644
--- a/common/env_flash.c
+++ b/common/env_flash.c
@@ -37,7 +37,7 @@
DECLARE_GLOBAL_DATA_PTR;
-#if ((CONFIG_COMMANDS&(CFG_CMD_ENV|CFG_CMD_FLASH)) == (CFG_CMD_ENV|CFG_CMD_FLASH)) || (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_FLASH))
+#if defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_FLASH)
#define CMD_SAVEENV
#elif defined(CFG_ENV_ADDR_REDUND)
#error Cannot use CFG_ENV_ADDR_REDUND without CFG_CMD_ENV & CFG_CMD_FLASH