当前位置: 代码迷 >> 驱动开发 >> 求OOB,ECC的位数,
  详细解决方案

求OOB,ECC的位数,

热度:45   发布时间:2016-04-28 11:00:38.0
求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}}
};

  相关解决方案