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

ARM: dts: gemini: wbd111: Use RedBoot partion parser

This is clearly a RedBoot partitioned device with 0x20000
sized erase blocks.

Link: https://lore.kernel.org/r/20221204190230.3345590-2-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

+4 -29
+4 -29
arch/arm/boot/dts/gemini-wbd111.dts
··· 86 86 status = "okay"; 87 87 /* 8MB of flash */ 88 88 reg = <0x30000000 0x00800000>; 89 - #address-cells = <1>; 90 - #size-cells = <1>; 91 89 92 - partition@0 { 93 - label = "RedBoot"; 94 - reg = <0x00000000 0x00020000>; 95 - read-only; 96 - }; 97 - partition@20000 { 98 - label = "kernel"; 99 - reg = <0x00020000 0x00100000>; 100 - }; 101 - partition@120000 { 102 - label = "rootfs"; 103 - reg = <0x00120000 0x006a0000>; 104 - }; 105 - partition@7c0000 { 106 - label = "VCTL"; 107 - reg = <0x007c0000 0x00010000>; 108 - read-only; 109 - }; 110 - partition@7d0000 { 111 - label = "cfg"; 112 - reg = <0x007d0000 0x00010000>; 113 - read-only; 114 - }; 115 - partition@7e0000 { 116 - label = "FIS"; 117 - reg = <0x007e0000 0x00010000>; 118 - read-only; 90 + partitions { 91 + compatible = "redboot-fis"; 92 + /* Eraseblock at 0x7e0000 */ 93 + fis-index-block = <0x3f>; 119 94 }; 120 95 }; 121 96