Home
last modified time | relevance | path

Searched +full:scpart +full:- +full:id (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/mtd/partitions/
Dfixed-partitions.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
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-partitions
24 - items:
25 - const: sercomm,sc-partitions
26 - const: fixed-partitions
[all …]
/linux-6.12.1/drivers/mtd/parsers/
Dscpart.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * drivers/mtd/scpart.c: Sercomm Partition Parser
15 #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 …]