summaryrefslogtreecommitdiff
path: root/common/env_eeprom.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-06-22 15:44:16 +0200
committerWolfgang Denk <wd@denx.de>2010-07-04 23:52:42 +0200
commitb218ccb5435e64ac2318bb8b6c9594ef1cc724cd (patch)
tree930a4f5324454c3ce4bb695c959c115b24b8d39e /common/env_eeprom.c
parentd9c27253ce333e2086b2d758b42dc3ecb8b34c3d (diff)
downloadu-boot-imx-b218ccb5435e64ac2318bb8b6c9594ef1cc724cd.zip
u-boot-imx-b218ccb5435e64ac2318bb8b6c9594ef1cc724cd.tar.gz
u-boot-imx-b218ccb5435e64ac2318bb8b6c9594ef1cc724cd.tar.bz2
Redundant environment: move flag definitions to header file
Instead of defining the flags sevaral times in different source files (which is error prone), move them to a central place in a header file. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/env_eeprom.c')
-rw-r--r--common/env_eeprom.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/env_eeprom.c b/common/env_eeprom.c
index 4f7f0db..8fe59f8 100644
--- a/common/env_eeprom.c
+++ b/common/env_eeprom.c
@@ -32,11 +32,6 @@
#include <i2c.h>
#endif
-#ifdef CONFIG_ENV_OFFSET_REDUND
-#define ACTIVE_FLAG 1
-#define OBSOLETE_FLAG 0
-#endif
-
DECLARE_GLOBAL_DATA_PTR;
env_t *env_ptr = NULL;