Commit f485f6d8 authored by Linus Walleij's avatar Linus Walleij

ARM: dts: Let Gemini NS2502 parse redboot partitions

The NS2502 uses hardcoded partitions but parsing the RedBoot
FIS should work fine, given that this flash seems to be using
0x200000 erase blocks.

Cc: Corentin Labbe <clabbe.montjoie@gmail.com>
Link: https://lore.kernel.org/r/20220412220358.3674598-1-linus.walleij@linaro.orgSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 95bef830
...@@ -61,30 +61,9 @@ &flash { ...@@ -61,30 +61,9 @@ &flash {
pinctrl-1 = <&pflash_disabled_pins>; pinctrl-1 = <&pflash_disabled_pins>;
partitions { partitions {
compatible = "fixed-partitions"; compatible = "redboot-fis";
#address-cells = <1>; /* Eraseblock at 0x7e0000 */
#size-cells = <1>; fis-index-block = <0x3f>;
partition@0 {
label = "RedBoot";
reg = <0x00000000 0x00020000>;
};
partition@20000 {
label = "kernel";
reg = <0x00020000 0x00700000>;
};
partition@720000 {
label = "VCTL";
reg = <0x00720000 0x00020000>;
};
partition@740000 {
label = "CurConf";
reg = <0x00740000 0x000a0000>;
};
partition@7e0000 {
label = "FIS";
reg = <0x007e0000 0x00010000>;
};
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment