Searched +full:scpart +full:- +full:id (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---4 $id: http://devicetree.org/schemas/mtd/partitions/fixed-partitions.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#12 on-flash partition table such as RedBoot.18 - Rafał Miłecki <rafal@milecki.pl>23 - const: fixed-partitions24 - items:25 - const: sercomm,sc-partitions26 - const: fixed-partitions[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * drivers/mtd/scpart.c: Sercomm Partition Parser15 #define MOD_NAME "scpart"42 return ((pdesc->part_id != 0xffffffffUL) && in scpart_desc_is_valid()43 (pdesc->part_offs != 0xffffffffUL) && in scpart_desc_is_valid()44 (pdesc->part_bytes != 0xffffffffUL)); in scpart_desc_is_valid()59 buf = kzalloc(master->erasesize, GFP_KERNEL); in scpart_scan_partmap()61 res = -ENOMEM; in scpart_scan_partmap()65 res2 = mtd_read(master, partmap_offs, master->erasesize, &retlen, buf); in scpart_scan_partmap()66 if (res2 || retlen != master->erasesize) { in scpart_scan_partmap()[all …]