]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/mtd/nand/mxc_nand.c
merged tx6dl-devel into denx master branch
[karo-tx-uboot.git] / drivers / mtd / nand / mxc_nand.c
index 40b0741f6ab23b0de80911230ef91844aae44da2..db85da452cabda45b5386f2389f89d900ed0e60d 100644 (file)
@@ -1242,10 +1242,10 @@ int board_nand_init(struct nand_chip *this)
                this->ecc.mode = NAND_ECC_HW;
        }
 
-       if (is_mxc_nfc_1())
-               this->ecc.strength = 1;
-       else
-               this->ecc.strength = 4;
+               if (is_mxc_nfc_1())
+                       this->ecc.strength = 1;
+               else
+                       this->ecc.strength = 4;
 
        host->pagesize_2k = 0;