summaryrefslogtreecommitdiff
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-21 22:17:36 -0400
committerMike Frysinger <vapier@gentoo.org>2010-01-17 09:17:26 -0500
commit76d82187c6cccbcd8d514015c3b283f05ee8ac5c (patch)
treec6b3c90c469c7a61ee6b14854565eecb30f1e92f /include/asm-blackfin
parent2ff6922280025c1315c53fa2eb4ab33f0c9591de (diff)
downloadu-boot-imx-76d82187c6cccbcd8d514015c3b283f05ee8ac5c.zip
u-boot-imx-76d82187c6cccbcd8d514015c3b283f05ee8ac5c.tar.gz
u-boot-imx-76d82187c6cccbcd8d514015c3b283f05ee8ac5c.tar.bz2
Blackfin: tweak embedded LDR env config option
Use the common config option for extracting the environment for embedding into LDR files and clarify the LDR-specific option. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r--include/asm-blackfin/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-blackfin/config.h b/include/asm-blackfin/config.h
index 327843d..fbfd598 100644
--- a/include/asm-blackfin/config.h
+++ b/include/asm-blackfin/config.h
@@ -79,6 +79,11 @@
# define CONFIG_ENV_SPI_CS BFIN_BOOT_SPI_SSEL
#endif
+/* We need envcrc to embed the env into LDRs */
+#ifdef CONFIG_ENV_IS_EMBEDDED_IN_LDR
+# define CONFIG_BUILD_ENVCRC
+#endif
+
/* Default/common Blackfin memory layout */
#ifndef CONFIG_SYS_SDRAM_BASE
# define CONFIG_SYS_SDRAM_BASE 0