求OOB,ECC的位数,在线等!
我的是nand flash 2048 + 64的
请问后面这64中oob和ecc都占几位,分别是哪几位?
谢谢!
[解决办法]
driver是/mtd/nand/nand_base.c中有这么一段:
static struct nand_ecclayout nand_oob_64 = {
.eccbytes = 24,
.eccpos = {
40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55,
56, 57, 58, 59, 60, 61, 62, 63},
.oobfree = {
{.offset = 2,
.length = 38}}
};