2
0

0026-ARM-dts-gemini-wbd111-Use-RedBoot-partion-parser.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. From 0e733f5af628210f372585e431504a7024e7b571 Mon Sep 17 00:00:00 2001
  2. From: Linus Walleij <[email protected]>
  3. Date: Sun, 4 Dec 2022 20:02:29 +0100
  4. Subject: [PATCH 26/29] ARM: dts: gemini: wbd111: Use RedBoot partion parser
  5. This is clearly a RedBoot partitioned device with 0x20000
  6. sized erase blocks.
  7. Link: https://lore.kernel.org/r/[email protected]
  8. Signed-off-by: Linus Walleij <[email protected]>
  9. ---
  10. --- a/arch/arm/boot/dts/gemini-wbd111.dts
  11. +++ b/arch/arm/boot/dts/gemini-wbd111.dts
  12. @@ -86,36 +86,11 @@
  13. status = "okay";
  14. /* 8MB of flash */
  15. reg = <0x30000000 0x00800000>;
  16. - #address-cells = <1>;
  17. - #size-cells = <1>;
  18. - partition@0 {
  19. - label = "RedBoot";
  20. - reg = <0x00000000 0x00020000>;
  21. - read-only;
  22. - };
  23. - partition@20000 {
  24. - label = "kernel";
  25. - reg = <0x00020000 0x00100000>;
  26. - };
  27. - partition@120000 {
  28. - label = "rootfs";
  29. - reg = <0x00120000 0x006a0000>;
  30. - };
  31. - partition@7c0000 {
  32. - label = "VCTL";
  33. - reg = <0x007c0000 0x00010000>;
  34. - read-only;
  35. - };
  36. - partition@7d0000 {
  37. - label = "cfg";
  38. - reg = <0x007d0000 0x00010000>;
  39. - read-only;
  40. - };
  41. - partition@7e0000 {
  42. - label = "FIS";
  43. - reg = <0x007e0000 0x00010000>;
  44. - read-only;
  45. + partitions {
  46. + compatible = "redboot-fis";
  47. + /* Eraseblock at 0x7e0000 */
  48. + fis-index-block = <0x3f>;
  49. };
  50. };