Commit 208bd2b85ecce9ecf2d661f51dba682f8ce0b074
1 parent
7f90cd6150
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
env: allow ENV_IS_NOWHERE with other storage target
Allow U-Boot to get default environment for some boot mode (USB for example), and to select storage location when it is booting from flash device; ENVL_NOWHERE is present in env_locations with other one. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Showing 1 changed file with 6 additions and 12 deletions Side-by-side Diff
env/Kconfig
... | ... | @@ -2,18 +2,12 @@ |
2 | 2 | |
3 | 3 | config ENV_IS_NOWHERE |
4 | 4 | bool "Environment is not stored" |
5 | - depends on !ENV_IS_IN_EEPROM | |
6 | - depends on !ENV_IS_IN_EXT4 | |
7 | - depends on !ENV_IS_IN_FAT | |
8 | - depends on !ENV_IS_IN_FLASH | |
9 | - depends on !ENV_IS_IN_MMC | |
10 | - depends on !ENV_IS_IN_NAND | |
11 | - depends on !ENV_IS_IN_NVRAM | |
12 | - depends on !ENV_IS_IN_ONENAND | |
13 | - depends on !ENV_IS_IN_REMOTE | |
14 | - depends on !ENV_IS_IN_SPI_FLASH | |
15 | - depends on !ENV_IS_IN_UBI | |
16 | - default y | |
5 | + default y if !ENV_IS_IN_EEPROM && !ENV_IS_IN_EXT4 && \ | |
6 | + !ENV_IS_IN_FAT && !ENV_IS_IN_FLASH && \ | |
7 | + !ENV_IS_IN_MMC && !ENV_IS_IN_NAND && \ | |
8 | + !ENV_IS_IN_NVRAM && !ENV_IS_IN_ONENAND && \ | |
9 | + !ENV_IS_IN_REMOTE && !ENV_IS_IN_SPI_FLASH && \ | |
10 | + !ENV_IS_IN_UBI | |
17 | 11 | help |
18 | 12 | Define this if you don't want to or can't have an environment stored |
19 | 13 | on a storage medium. In this case the environment will still exist |