summaryrefslogtreecommitdiff
path: root/common/env_embedded.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/env_embedded.c')
-rw-r--r--common/env_embedded.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_embedded.c b/common/env_embedded.c
index ae6cac4..e438575 100644
--- a/common/env_embedded.c
+++ b/common/env_embedded.c
@@ -44,7 +44,7 @@
* Generate embedded environment table
* inside U-Boot image, if needed.
*/
-#if defined(ENV_IS_EMBEDDED)
+#if defined(ENV_IS_EMBEDDED) || defined(CONFIG_BUILD_ENVCRC)
/*
* Only put the environment in it's own section when we are building
* U-Boot proper. The host based program "tools/envcrc" does not need