mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
spl: env: Correct dependencies for SPL_SAVEENV and MMC
The SPL_SAVEENV functionality, when working with an MMC device, can only work with SPL_MMC_WRITE enabled. This however only works with SPL_MMC also being enabled. Update the dependencies to show that if we have enabled SPL_ENV_IS_IN_MMC then we select SPL_MMC_WRITE and make SPL_ENV_IS_IN_MMC depends on SPL_MMC. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -729,7 +729,7 @@ config SPL_ENV_SUPPORT
|
||||
config SPL_SAVEENV
|
||||
bool "Support save environment"
|
||||
depends on SPL_ENV_SUPPORT
|
||||
select SPL_MMC_WRITE if ENV_IS_IN_MMC
|
||||
select SPL_MMC_WRITE if SPL_ENV_IS_IN_MMC
|
||||
help
|
||||
Enable save environment support in SPL after setenv. By default
|
||||
the saveenv option is not provided in SPL, but some boards need
|
||||
|
||||
Reference in New Issue
Block a user