dt_bindings: mtd: partitions: redboot: convert to YAML
Subsystems (2)
PATCH v2 1/1 dt_bindings: mtd: partitions: redboot: convert to YAML
Converts mtd/partitions/redboot-fis.txt to YAML.
Signed-off-by Corentin Labbe <[email protected]>
---
Changes since v1:
- fixed yamllint errors
- removed @0 from flash
.../bindings/mtd/partitions/redboot-fis.txt | 27 ------------ .../bindings/mtd/partitions/redboot-fis.yaml | 42 +++++++++++++++++++ 2 files changed, 42 insertions(+), 27 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt create mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.yaml
Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt deleted +0 -27
@@ -1,27 +0,0 @@ -RedBoot FLASH Image System (FIS) Partitions -=========================================== - -The FLASH Image System (FIS) directory is a flash description -format closely associated with the RedBoot boot loader. - -It uses one single flash eraseblock in the flash to store an index of -all images in the flash. - -This block size will vary depending on flash but is typically -32 KB in size. - -Required properties: -- compatible : (required) must be "redboot-fis" -- fis-index-block : (required) a index to the eraseblock containing - the FIS directory on this device. On a flash memory with 32KB - eraseblocks, 0 means the first eraseblock at 0x00000000, 1 means the - second eraseblock at 0x00008000 and so on. - -Example: - -flash@0 { - partitions { - compatible = "redboot-fis"; - fis-index-block = <0>; - }; -};
Documentation/devicetree/bindings/mtd/partitions/redboot-fis.yaml new file +42 -0
42 lines not on this page · raw message
Signature · 1 line
2.31.1
Quoted 3 lines · Corentin Labbe
Converts
mtd/partitions/redboot-fis.txtto YAML.Signed-off-by Corentin Labbe <[email protected]>
Looks good to me! Thanks for doing this.
Reviewed-by Linus Walleij <[email protected]>
Yours,
Linus Walleij
Quoted 8 lines · Corentin Labbe
Converts
mtd/partitions/redboot-fis.txtto YAML.Signed-off-by Corentin Labbe <[email protected]>---
Changes since v1:
- fixed yamllint errors
- removed @0 from flash
Quoted 6 lines
.../bindings/mtd/partitions/redboot-fis.txt | 27 ------------ .../bindings/mtd/partitions/redboot-fis.yaml | 42 +++++++++++++++++++ 2 files changed, 42 insertions(+), 27 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt create mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.yaml
Reviewed-by Rob Herring <[email protected]>
Quoted 5 lines · Corentin Labbe
Converts
mtd/partitions/redboot-fis.txtto YAML.Signed-off-by Corentin Labbe <[email protected]>Reviewed-by Linus Walleij <[email protected]>Reviewed-by Rob Herring <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel