Home
last modified time | relevance | path

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

/kernel/liteos_a/drivers/mtd/multi_partition/src/
Dmtd_partition.c78 static VOID MtdNandParamAssign(partition_param *nandParam, const struct MtdDev *nandMtd) in MtdNandParamAssign() argument
85 nandParam->flash_mtd = (struct MtdDev *)nandMtd; in MtdNandParamAssign()
91 nandParam->block_size = nandMtd->eraseSize; in MtdNandParamAssign()
103 struct MtdDev *nandMtd = GetMtd("nand"); in MtdInitNandParam() local
104 if (nandMtd == NULL) { in MtdInitNandParam()
123 MtdNandParamAssign(nandParam, nandMtd); in MtdInitNandParam()