2
0

0009-mtd-partitions-Add-RedBoot-FIS-DT-bindings.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From 3dfe7ff875a64b83de21dad6365225f41f3cdb17 Mon Sep 17 00:00:00 2001
  2. From: Linus Walleij <[email protected]>
  3. Date: Fri, 19 Oct 2018 08:22:18 +0200
  4. Subject: [PATCH 09/18] mtd: partitions: Add RedBoot FIS DT bindings
  5. This adds device tree bindings for the RedBoot FIS partition
  6. format.
  7. Cc: [email protected]
  8. Signed-off-by: Linus Walleij <[email protected]>
  9. ---
  10. .../bindings/mtd/partitions/redboot-fis.txt | 27 +++++++++++++++++++
  11. 1 file changed, 27 insertions(+)
  12. create mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
  13. --- /dev/null
  14. +++ b/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
  15. @@ -0,0 +1,27 @@
  16. +RedBoot FLASH Image System (FIS) Partitions
  17. +===========================================
  18. +
  19. +The FLASH Image System (FIS) directory is a flash description
  20. +format closely associated with the RedBoot boot loader.
  21. +
  22. +It uses one single flash eraseblock in the flash to store an index of
  23. +all images in the flash.
  24. +
  25. +This block size will vary depending on flash but is typically
  26. +32 KB in size.
  27. +
  28. +Required properties:
  29. +- compatible : (required) must be "redboot-fis"
  30. +- fis-index-block : (required) a index to the eraseblock containing
  31. + the FIS directory on this device. On a flash memory with 32KB
  32. + eraseblocks, 0 means the first eraseblock at 0x00000000, 1 means the
  33. + second eraseblock at 0x00008000 and so on.
  34. +
  35. +Example:
  36. +
  37. +flash@0 {
  38. + partitions {
  39. + compatible = "redboot-fis";
  40. + fis-index-block = <0>;
  41. + };
  42. +};