index_partitions();
}
-
/**
* Produce a mtd_info given a type and num.
*
return 0;
}
-
/**
* Performs sanity check for supplied partition. Offset and size are
* verified to be within valid range. Partition type is checked and
p += len;
maxlen -= len;
-
/* add offset only when there is a gap between
* partitions */
if ((!prev_part && (offset != 0)) ||
return 0;
}
-
/**
* Parse and initialize global mtdids mapping and create global
* device/partition list.