mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
[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: Nick Spence <nick.spence@freescale.com> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
3b58d94590
commit
d1a7254529
2 changed files with 2 additions and 2 deletions
|
@ -102,6 +102,7 @@
|
|||
#define CFG_ENV_IS_IN_FLASH 1 /* use FLASH for environment vars */
|
||||
#else
|
||||
#define CFG_ENV_IS_IN_NAND 1 /* use NAND for environment vars */
|
||||
#define CFG_ENV_IS_EMBEDDED 1 /* use embedded environment */
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
|
|
|
@ -79,8 +79,7 @@
|
|||
# ifdef CFG_ENV_OFFSET_REDUND
|
||||
# define CFG_REDUNDAND_ENVIRONMENT
|
||||
# endif
|
||||
# if defined(CONFIG_NAND_U_BOOT)
|
||||
/* Use embedded environment in NAND boot versions */
|
||||
# ifdef CFG_ENV_IS_EMBEDDED
|
||||
# define ENV_IS_EMBEDDED 1
|
||||
# endif
|
||||
#endif /* CFG_ENV_IS_IN_NAND */
|
||||
|
|
Loading…
Reference in a new issue