[PATCH v12 1/3] dt-bindings: mtd: Describe MTD partitions concatenation

Miquel Raynal miquel.raynal at bootlin.com
Wed Feb 19 00:36:37 PST 2025


Hi Rob,

>> I'm talking about storing in a central place all the concatenated
>> partitions. Your proposal with "next-partition" works fine if we locate
>> it inside the 'partitions' node, but I feel like the 'part-concat'
>> instead was not fitting very well there. So I was wondering in this case
>> if moving the concatenation of the partitions would be eligible to the
>> chosen node, or if that's reserved to *very* few properties (and should
>> remain like that).
>
> You would have to solve the same problem as this patchset which is how 
> to support N sets of concatenated partitions.
>
> In general though, we add new things to /chosen very carefully. It's 
> usually "things the bootloader configured/enabled" which I don't think 
> this qualifies as.

Interesting, I didn't have this "things the bootloader did" explicit
case in mind.

Thanks!
Miquèl



More information about the linux-mtd mailing list