]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/env_nand.c
Merging Stelian Pop AT91 patches
[karo-tx-uboot.git] / common / env_nand.c
index f12674d82d54822fc2b68fe187cc30a61c18e4b5..3a98d2b944b17b8853766cbb6bfcd6f4b136f58d 100644 (file)
@@ -270,7 +270,7 @@ void env_relocate_spec (void)
 
        total = CFG_ENV_SIZE;
        ret = nand_read(&nand_info[0], CFG_ENV_OFFSET, &total, (u_char*)env_ptr);
-       if (ret || total != CFG_ENV_SIZE)
+       if (ret || total != CFG_ENV_SIZE)
                return use_default();
 
        if (crc32(0, env_ptr->data, ENV_SIZE) != env_ptr->crc)