<div>Hi,</div>
<div> </div>
<div>I am working on the NAND driver for an ARM based SoC which has Samsung K9K1208Q0C 64MB nand (Size of oobblock = 512 and Amount of oob data per block = 16). The driver is up and working. This nand chip is capable of generating hardware ECC. Now I want to integrate the Hardware ECC support into my NAND driver. How I should populate the "eccmode" and "options" fields of the nand_chip structure? Can I use NAND_HWECC_SYNDROME as one of the options?
</div>
<div> </div>
<div>Thanks in advance,</div>
<div>Sudhakar</div>