Searched refs:partitions_count (Results 1 – 1 of 1) sorted by relevance
3197 int partitions_count, i, j, ret; in qcom_nand_host_parse_boot_partitions() local3202 partitions_count = of_property_count_u32_elems(dn, "qcom,boot-partitions"); in qcom_nand_host_parse_boot_partitions()3203 if (partitions_count <= 0) { in qcom_nand_host_parse_boot_partitions()3205 return partitions_count ? partitions_count : -EINVAL; in qcom_nand_host_parse_boot_partitions()3208 host->nr_boot_partitions = partitions_count / 2; in qcom_nand_host_parse_boot_partitions()