From 76d82187c6cccbcd8d514015c3b283f05ee8ac5c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 21 Jul 2009 22:17:36 -0400 Subject: 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 --- include/asm-blackfin/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/asm-blackfin') 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 -- cgit v1.1