]> git.sur5r.net Git - u-boot/blobdiff - nand_spl/nand_boot_fsl_nfc.c
spl mxc nand: Set symmetric mode
[u-boot] / nand_spl / nand_boot_fsl_nfc.c
index 059969ba9a5e5aeeacce9a93506dbfd2d00720ea..842943c651b598e610bb6e65005d379d9267c145 100644 (file)
@@ -57,7 +57,8 @@ static void nfc_nand_init(void)
        writew(0x2, &nfc->config);
 
        /* hardware ECC checking and correct */
-       config1 = readw(&nfc->config1) | NFC_ECC_EN | NFC_INT_MSK | NFC_FP_INT;
+       config1 = readw(&nfc->config1) | NFC_ECC_EN | NFC_INT_MSK |
+                       NFC_ONE_CYCLE | NFC_FP_INT;
        /*
         * if spare size is larger that 16 bytes per 512 byte hunk
         * then use 8 symbol correction instead of 4