]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/env_common.c
ARM: tegra: add APIs the clock uclass driver will need
[karo-tx-uboot.git] / common / env_common.c
index af59c72e1fd7d502f4899d99e8a1458cc7354d13..560cad02476404fdde6e4f0b4dff5f07a7ec22d1 100644 (file)
@@ -123,6 +123,7 @@ void set_default_env(const char *s)
                error("Environment import failed: errno = %d\n", errno);
 
        gd->flags |= GD_FLG_ENV_READY;
+       gd->flags |= GD_FLG_ENV_DEFAULT;
 }
 
 
@@ -144,7 +145,7 @@ int set_default_vars(int nvars, char * const vars[])
  * env_aes_cbc_get_key() - Get AES-128-CBC key for the environment
  *
  * This function shall return 16-byte array containing AES-128 key used
- * to encrypt and decrypt the environment. This function must be overriden
+ * to encrypt and decrypt the environment. This function must be overridden
  * by the implementer as otherwise the environment encryption will not
  * work.
  */