summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/gemini-nas4220b.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-07-12 23:57:11 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-07-26 14:42:57 +0300
commitb5a923f8c7395bea1e4b9f1de75a8ed76978e33f (patch)
treea7c365bad4ea1c511e7808ad4f1c3ba6c916eeb2 /arch/arm/boot/dts/gemini-nas4220b.dts
parent47ef78b09952eb8498457753f4ba351a8366b80f (diff)
downloadlinux-b5a923f8c7395bea1e4b9f1de75a8ed76978e33f.tar.xz
ARM: dts: gemini: Switch to redboot partition parsing
This switches the kernel to parse the Redboot partitions in the SL93512r and the NAS4220B properly using the right compatible string instead of using hard-coded partitions. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/gemini-nas4220b.dts')
-rw-r--r--arch/arm/boot/dts/gemini-nas4220b.dts35
1 files changed, 4 insertions, 31 deletions
diff --git a/arch/arm/boot/dts/gemini-nas4220b.dts b/arch/arm/boot/dts/gemini-nas4220b.dts
index f4535d635f3b..254ecbc3d79f 100644
--- a/arch/arm/boot/dts/gemini-nas4220b.dts
+++ b/arch/arm/boot/dts/gemini-nas4220b.dts
@@ -81,37 +81,10 @@
/* 16MB of flash */
reg = <0x30000000 0x01000000>;
- partition@0 {
- label = "RedBoot";
- reg = <0x00000000 0x00020000>;
- read-only;
- };
- partition@20000 {
- label = "Kernel";
- reg = <0x00020000 0x00300000>;
- };
- partition@320000 {
- label = "Ramdisk";
- reg = <0x00320000 0x00600000>;
- };
- partition@920000 {
- label = "Application";
- reg = <0x00920000 0x00600000>;
- };
- partition@f20000 {
- label = "VCTL";
- reg = <0x00f20000 0x00020000>;
- read-only;
- };
- partition@f40000 {
- label = "CurConf";
- reg = <0x00f40000 0x000a0000>;
- read-only;
- };
- partition@fe0000 {
- label = "FIS directory";
- reg = <0x00fe0000 0x00020000>;
- read-only;
+ partitions {
+ compatible = "redboot-fis";
+ /* Eraseblock at 0xfe0000 */
+ fis-index-block = <0x1fc>;
};
};