Hello Champs,
How to modify the nandecc to software ECC? Customer has found the driver in ipnc_3.8 Linux 2.6.37, but he doesn't know which file to change the ECC mode.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Champs,
How to modify the nandecc to software ECC? Customer has found the driver in ipnc_3.8 Linux 2.6.37, but he doesn't know which file to change the ECC mode.
Hi,
On latest Linux Kernel versions the selection of ecc option is done via devicetree property ti,nand-ecc-opt.
www.kernel.org/.../gpmc-nand.txt
On this version I am not sure how it can be changed.
You can follow the platform data pdata->ecc_opt variable to see where it gets set.
Regards,
Vishal
Platform data most probably is passed via gpmc_nand_init() API, follow where this API is called with what parameters.