summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorStuart Longland <stuartl@vrt.com.au>2016-02-23 15:51:26 +1000
committerTom Rini <trini@konsulko.com>2016-03-14 14:18:39 -0400
commitfd1000b9c1d3c93aca1aae8253f5d179b2ceb431 (patch)
treebc0a188d41431982898aeaf6c6f87b65c9db35e0 /cmd
parentdf61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa (diff)
downloadu-boot-fd1000b9c1d3c93aca1aae8253f5d179b2ceb431.tar.gz
common: Add support for environment file in EXT4.
This is an enhancement that permits storing the environment file on an EXT4 partition such as the root filesystem. It is based on the existing FAT environment file code.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/nvedit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/nvedit.c b/cmd/nvedit.c
index 5ae9d9d5ae..9cf884ee58 100644
--- a/cmd/nvedit.c
+++ b/cmd/nvedit.c
@@ -45,6 +45,7 @@ DECLARE_GLOBAL_DATA_PTR;
!defined(CONFIG_ENV_IS_IN_DATAFLASH) && \
!defined(CONFIG_ENV_IS_IN_MMC) && \
!defined(CONFIG_ENV_IS_IN_FAT) && \
+ !defined(CONFIG_ENV_IS_IN_EXT4) && \
!defined(CONFIG_ENV_IS_IN_NAND) && \
!defined(CONFIG_ENV_IS_IN_NVRAM) && \
!defined(CONFIG_ENV_IS_IN_ONENAND) && \
@@ -53,7 +54,7 @@ DECLARE_GLOBAL_DATA_PTR;
!defined(CONFIG_ENV_IS_IN_UBI) && \
!defined(CONFIG_ENV_IS_NOWHERE)
# error Define one of CONFIG_ENV_IS_IN_{EEPROM|FLASH|DATAFLASH|ONENAND|\
-SPI_FLASH|NVRAM|MMC|FAT|REMOTE|UBI} or CONFIG_ENV_IS_NOWHERE
+SPI_FLASH|NVRAM|MMC|FAT|EXT4|REMOTE|UBI} or CONFIG_ENV_IS_NOWHERE
#endif
/*