Kernel marking NAND blocks bad
Ron Madrid
ron_madrid at sbcglobal.net
Thu Jul 3 07:13:42 EST 2008
Thank you (once again). I found the information.
Ron
--- Scott Wood <scottwood at freescale.com> wrote:
> Ron Madrid wrote:
> > /* Large Page FLASH with FMR[ECCM] = 0 */
> > static struct nand_ecclayout fsl_elbc_oob_lp_eccm0 = {
> > .eccbytes = 12,
> > .eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40, 54, 55, 56},
> > - .oobfree = { {1, 5}, {9, 13}, {25, 13}, {41, 13}, {57, 7} },
> > + .oobfree = { {2, 4}, {9, 13}, {25, 13}, {41, 13}, {57, 7} },
> > .oobavail = 48,
> > };
> >
> > /* Large Page FLASH with FMR[ECCM] = 1 */
> > static struct nand_ecclayout fsl_elbc_oob_lp_eccm1 = {
> > .eccbytes = 12,
> > .eccpos = {8, 9, 10, 24, 25, 26, 40, 41, 42, 56, 57, 58},
> > - .oobfree = { {1, 7}, {11, 13}, {27, 13}, {43, 13}, {59, 5} },
> > + .oobfree = { {2, 6}, {11, 13}, {27, 13}, {43, 13}, {59, 5} },
> > .oobavail = 48,
> > };
>
> Anton's recent patchset (posted to the MTD list) should fix this.
>
> -scott
>
More information about the Linuxppc-dev
mailing list