]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/env_embedded.c
env: only build env_embedded and envcrc when needed
[karo-tx-uboot.git] / common / env_embedded.c
index ae6cac4390d8ad60f3551b0a5173d67fce14c5e4..e27e1cd276c3c4fc5717b78444052f4225066f31 100644 (file)
 #  define SYM_CHAR
 #endif
 
-/*
- * Generate embedded environment table
- * inside U-Boot image, if needed.
- */
-#if defined(ENV_IS_EMBEDDED)
 /*
  * 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
@@ -210,5 +205,3 @@ unsigned long env_size __PPCTEXT__ = sizeof(env_t);
  * Add in absolutes.
  */
 GEN_ABS(env_offset, CONFIG_ENV_OFFSET);
-
-#endif /* ENV_IS_EMBEDDED */