env: Add redundant env support to UBI env
Allow the user to specify two UBI volumes to use for the environment Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
committed by
Tom Rini
parent
2b74433f36
commit
785881f775
@@ -103,6 +103,9 @@ extern unsigned long nand_env_oob_offset;
|
||||
# ifndef CONFIG_ENV_UBI_VOLUME
|
||||
# error "Need to define CONFIG_ENV_UBI_VOLUME when using CONFIG_ENV_IS_IN_UBI"
|
||||
# endif
|
||||
# if defined(CONFIG_ENV_UBI_VOLUME_REDUND)
|
||||
# define CONFIG_SYS_REDUNDAND_ENVIRONMENT
|
||||
# endif
|
||||
# ifndef CONFIG_ENV_SIZE
|
||||
# error "Need to define CONFIG_ENV_SIZE when using CONFIG_ENV_IS_IN_UBI"
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user