Skip to contentSkip to conversation

dt_bindings: mtd: partitions: redboot: convert to YAML

PATCH Applied Corentin Labbe 4 participants 4 messages Jun 28, 2021 – Jul 15, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt_bindings: mtd: partitions: redboot: convert to YAML

Converts mtd/partitions/redboot-fis.txt to YAML.

---
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
deleted file mode 100644
index fd0ebe4e3415..000000000000
@@ -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
maintainer Reviewed-by on v2 1/1
#2 lore raw
In reply to Corentin Labbe
Quoted 8 lines · Corentin Labbe

Converts mtd/partitions/redboot-fis.txt to YAML.

---
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