Skip to content
Snippets Groups Projects
Commit d1a72545 authored by Stefan Roese's avatar Stefan Roese
Browse files

[PATCH] Select NAND embedded environment from board configuration


The current NAND Bootloader setup forces the environment
variables to be in line with the bootloader. This change
enables the configuration to be made in the board include
file instead so that it can be individually enabled.

Signed-off-by: default avatarNick Spence <nick.spence@freescale.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 3b58d945
No related branches found
No related tags found
No related merge requests found
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
#define CFG_ENV_IS_IN_FLASH 1 /* use FLASH for environment vars */ #define CFG_ENV_IS_IN_FLASH 1 /* use FLASH for environment vars */
#else #else
#define CFG_ENV_IS_IN_NAND 1 /* use NAND for environment vars */ #define CFG_ENV_IS_IN_NAND 1 /* use NAND for environment vars */
#define CFG_ENV_IS_EMBEDDED 1 /* use embedded environment */
#endif #endif
/*----------------------------------------------------------------------- /*-----------------------------------------------------------------------
......
...@@ -79,8 +79,7 @@ ...@@ -79,8 +79,7 @@
# ifdef CFG_ENV_OFFSET_REDUND # ifdef CFG_ENV_OFFSET_REDUND
# define CFG_REDUNDAND_ENVIRONMENT # define CFG_REDUNDAND_ENVIRONMENT
# endif # endif
# if defined(CONFIG_NAND_U_BOOT) # ifdef CFG_ENV_IS_EMBEDDED
/* Use embedded environment in NAND boot versions */
# define ENV_IS_EMBEDDED 1 # define ENV_IS_EMBEDDED 1
# endif # endif
#endif /* CFG_ENV_IS_IN_NAND */ #endif /* CFG_ENV_IS_IN_NAND */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment