env: add absolute path at CONFIG_ENV_EXT4_FILE
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 28 Jul 2020 09:51:14 +0000 (11:51 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 31 Jul 2020 14:13:00 +0000 (10:13 -0400)
Add the absolute path to the default value of
CONFIG_ENV_EXT4_FILE = "/uboot.env".

This patch avoid the error :
  Saving Environment to EXT4... File System is consistent
  Please supply Absolute path

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
env/Kconfig

index 4113628..dcc525d 100644 (file)
@@ -479,7 +479,7 @@ config ENV_EXT4_DEVICE_AND_PART
 config ENV_EXT4_FILE
        string "Name of the EXT4 file to use for the environment"
        depends on ENV_IS_IN_EXT4
-       default "uboot.env"
+       default "/uboot.env"
        help
          It's a string of the EXT4 file name. This file use to store the
          environment (explicit path to the file)