Home
last modified time | relevance | path

Searched refs:markbad (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/drivers/peripheral/flash/include/aos/
A Dmtdnand.h89 … int(*markbad)(aos_nand_t *nand, uint32_t blk); /* if NULL OOB[0] used as bad mark(set to 0x00) */ member
A Dmtd.h115 int(*markbad) (aos_mtd_t *mtd, uint32_t block); /* return 0 if success */ member
/AliOS-Things-master/components/drivers/peripheral/flash/src/
A Dmtd.c436 if (mtd->ops->markbad == NULL) { in aos_mtd_block_mark_bad()
446 return mtd->ops->markbad(mtd->master, block + offset_blk); in aos_mtd_block_mark_bad()
A Dmtdnand.c569 if (chip->ops->markbad) in nand_block_markbad()
571 ret = chip->ops->markbad(chip, blk); in nand_block_markbad()

Completed in 7 milliseconds