On Wednesday 25 March 2009, Narnakaje, Snehaprabha wrote:
> Unfortunately .eccpos is being used in the latest kernels
> (as against 2.6.10/2.6.18) to calculate .oobavail in the
> nand_base.c  

In 2.6.29 I see:

        /*
         * The number of bytes available for a client to place data into
         * the out of band area
         */
        chip->ecc.layout->oobavail = 0;
        for (i = 0; chip->ecc.layout->oobfree[i].length; i++)
                chip->ecc.layout->oobavail +=
                        chip->ecc.layout->oobfree[i].length;
        mtd->oobavail = chip->ecc.layout->oobavail;

So I don't quite follow ...

 
> If we can come up with another method to calculate .oobavail,
> we could just leave the nand_ecclayout as is (similar to what
> happened with nand_oobinfo)  



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to