aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2011-12-25 01:42:57 +0000
committerWolfgang Denk <wd@denx.de>2012-01-05 16:35:54 +0100
commit6f403bad80224b9cfc5c97cb2ac1b608d1777d0d (patch)
tree2d4cb7c45fe7452fd7f1892bce4604ac0dd4f7e0 /tools
parent914c9ee971924665c9d2927fe83d8d70060b1eb8 (diff)
downloadu-boot-midas-6f403bad80224b9cfc5c97cb2ac1b608d1777d0d.tar.gz
u-boot-midas-6f403bad80224b9cfc5c97cb2ac1b608d1777d0d.tar.bz2
u-boot-midas-6f403bad80224b9cfc5c97cb2ac1b608d1777d0d.zip
env: remove value from boolean defines
Several boolean defines have a value assigned. Remove the value as defining the symbol is enough. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Marek Vasut <marek.vasut@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/envcrc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/envcrc.c b/tools/envcrc.c
index 51e3f54a38..08d2a8f550 100644
--- a/tools/envcrc.c
+++ b/tools/envcrc.c
@@ -53,15 +53,15 @@
# endif
# if (CONFIG_ENV_ADDR >= CONFIG_SYS_MONITOR_BASE) && \
((CONFIG_ENV_ADDR + CONFIG_ENV_SIZE) <= (CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN))
-# define ENV_IS_EMBEDDED 1
+# define ENV_IS_EMBEDDED
# endif
# if defined(CONFIG_ENV_ADDR_REDUND) || defined(CONFIG_ENV_OFFSET_REDUND)
-# define CONFIG_SYS_REDUNDAND_ENVIRONMENT 1
+# define CONFIG_SYS_REDUNDAND_ENVIRONMENT
# endif
#endif /* CONFIG_ENV_IS_IN_FLASH */
#if defined(ENV_IS_EMBEDDED) && !defined(CONFIG_BUILD_ENVCRC)
-# define CONFIG_BUILD_ENVCRC 1
+# define CONFIG_BUILD_ENVCRC
#endif
#ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT