[PATCH v2 1/2] dt-bindings: mtd: partitions: Add binding for Sercomm parser

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Sun May 1 01:17:17 PDT 2022


On 30/04/2022 20:54, Mikhail Zhilkin wrote:
>  patternProperties:
>    "@[0-9a-f]+$":
> -    $ref: "partition.yaml#"
> +    allOf:
> +      - $ref: "partition.yaml#"
> +      - if:
> +          properties:
> +            compatible:
> +              contains:
> +                const: sercomm,sc-partitions
> +        then:
> +          properties:
> +            sercomm,scpart-id:
> +              description: Partition id in Sercomm partition map. Parser
> +                uses this id to get partition offset and size values from
> +                dynamic partition map.

Partition offset and size values are not derived from scpart-id. I am
sorry but after all these questions - it's the third time now - you
never answer why do you need this property and what is it used for. From
all the examples it could be simply removed and the partition map will
be exactly the same.


Best regards,
Krzysztof



More information about the linux-mtd mailing list