Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: mtd: partitions: u-boot: allow dynamic subpartitions

U-Boot partition may contain subpartitions. For example Broadcom
includes environment data block in the middle of its U-Boot partition.

This allows describing Broadcom's U-Boot env data and will allow
referencing its NVMEM cell in the future.

Ref: 118f3fbe517f4 ("dt-bindings: mtd: partitions: support label/name only partition")
Ref: dd638202dfb65 ("dt-bindings: mtd: partitions: add additional example for qcom,smem-part")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20221018154202.4634-1-zajec5@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Rafał Miłecki and committed by
Rob Herring
4862a4d7 c2741cbe

+7
+7
Documentation/devicetree/bindings/mtd/partitions/u-boot.yaml
··· 27 27 Broadcom stores environment variables inside a U-Boot partition. They 28 28 can be identified by a custom header with magic value. 29 29 30 + patternProperties: 31 + "^partition-.*$": 32 + $ref: partition.yaml# 33 + 30 34 unevaluatedProperties: false 31 35 32 36 examples: ··· 44 40 compatible = "brcm,u-boot"; 45 41 reg = <0x0 0x100000>; 46 42 label = "u-boot"; 43 + 44 + partition-u-boot-env { 45 + }; 47 46 }; 48 47 49 48 partition@100000 {