Home
last modified time | relevance | path

Searched refs:nand_oob (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Darasan_nfc.c260 static struct nand_ecclayout nand_oob; variable
1170 nand_oob.eccbytes = ecc_matrix[found].eccsize; in arasan_nand_ecc_init()
1171 eccpos_start = mtd->oobsize - nand_oob.eccbytes; in arasan_nand_ecc_init()
1173 for (i = 0; i < nand_oob.eccbytes; i++) in arasan_nand_ecc_init()
1174 nand_oob.eccpos[i] = eccpos_start + i; in arasan_nand_ecc_init()
1176 nand_oob.oobfree[0].offset = 2; in arasan_nand_ecc_init()
1177 nand_oob.oobfree[0].length = eccpos_start - 2; in arasan_nand_ecc_init()
1182 nand_chip->ecc.layout = &nand_oob; in arasan_nand_ecc_init()
H A Ddenali.c1146 static struct nand_ecclayout nand_oob; variable
1329 nand_oob.eccbytes = denali->nand.ecc.bytes; in denali_init()
1330 denali->nand.ecc.layout = &nand_oob; in denali_init()