diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-12-04 20:02:30 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-01-25 08:48:33 +0100 |
commit | e6c7d0ad2a916b0d8e95e0625d6f337ce0a02979 (patch) | |
tree | f5ffb4dee371e171fdb19c9d52ac74cc3c09e49e /arch/arm/boot/dts/gemini-wbd222.dts | |
parent | 747749045e4b50b51582f6ee24e9abacadccfad0 (diff) |
ARM: dts: gemini: wbd222: Use RedBoot partion parser
This is clearly a RedBoot partitioned device with 0x20000
sized erase blocks.
Link: https://lore.kernel.org/r/20221204190230.3345590-3-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/gemini-wbd222.dts')
-rw-r--r-- | arch/arm/boot/dts/gemini-wbd222.dts | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/arch/arm/boot/dts/gemini-wbd222.dts b/arch/arm/boot/dts/gemini-wbd222.dts index 82a08e359198..ff72bbc4db3e 100644 --- a/arch/arm/boot/dts/gemini-wbd222.dts +++ b/arch/arm/boot/dts/gemini-wbd222.dts @@ -90,36 +90,11 @@ status = "okay"; /* 8MB of flash */ reg = <0x30000000 0x00800000>; - #address-cells = <1>; - #size-cells = <1>; - partition@0 { - label = "RedBoot"; - reg = <0x00000000 0x00020000>; - read-only; - }; - partition@20000 { - label = "kernel"; - reg = <0x00020000 0x00100000>; - }; - partition@120000 { - label = "rootfs"; - reg = <0x00120000 0x006a0000>; - }; - partition@7c0000 { - label = "VCTL"; - reg = <0x007c0000 0x00010000>; - read-only; - }; - partition@7d0000 { - label = "cfg"; - reg = <0x007d0000 0x00010000>; - read-only; - }; - partition@7e0000 { - label = "FIS"; - reg = <0x007e0000 0x00010000>; - read-only; + partitions { + compatible = "redboot-fis"; + /* Eraseblock at 0x7e0000 */ + fis-index-block = <0x3f>; }; }; |