[Yaffs] yaffs2 on onenand

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Naushad K
Date:  
To: yaffs
Subject: [Yaffs] yaffs2 on onenand
Hi,

Did any one tried to use yaffs2 on onenand ?

When I looked at the onenand_base.c, the oobinfo is as per the
following format.


/**
 * onenand_oob_64 - oob info for large (2KB) page
 */
static struct nand_oobinfo onenand_oob_64 = {
    .useecc        = MTD_NANDECC_AUTOPLACE,
    .eccbytes    = 20,
    .eccpos        = {
        8, 9, 10, 11, 12,
        24, 25, 26, 27, 28,
        40, 41, 42, 43, 44,
        56, 57, 58, 59, 60,
        },
    .oobfree    = {
        {2, 3}, {14, 2}, {18, 3}, {30, 2},
        {24, 3}, {46, 2}, {40, 3}, {62, 2} }
};



But I have not seen code in onenand_base.c for doing the autoplace
of the yaffs tags into the oobfree area as its there in nand_base.c

Can the yaffs2 work with current onenand_base.c ?

Thanks
Naushad