bmips: enable ar-5387un enet support
[oweals/u-boot.git] / env / ext4.c
index f4cb28570c4750f47020bfea9bcc92eaa0b045dc..09c5e4a491018a35adaf1fba3294b3778f9d70e6 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (c) Copyright 2016 by VRT Technology
  *
@@ -15,8 +16,6 @@
  * EXT4 filesystem implementation in Uboot by
  * Uma Shankar <uma.shankar@samsung.com>
  * Manjunatha C Achar <a.manjunatha@samsung.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -120,7 +119,7 @@ static int env_ext4_load(void)
        return env_import(buf, 1);
 
 err_env_relocate:
-       set_default_env(NULL);
+       set_default_env(NULL, 0);
 
        return -EIO;
 }