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.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
95bef83078
commit
f485f6d852
@ -61,30 +61,9 @@
|
||||
pinctrl-1 = <&pflash_disabled_pins>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
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>;
|
||||
};
|
||||
compatible = "redboot-fis";
|
||||
/* Eraseblock at 0x7e0000 */
|
||||
fis-index-block = <0x3f>;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user