]> Git Repo - linux.git/commitdiff
ARM: dts: gemini: Switch to redboot partition parsing
authorLinus Walleij <[email protected]>
Fri, 12 Jul 2019 20:57:11 +0000 (22:57 +0200)
committerLinus Walleij <[email protected]>
Fri, 26 Jul 2019 11:42:57 +0000 (13:42 +0200)
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 <[email protected]>
arch/arm/boot/dts/gemini-nas4220b.dts
arch/arm/boot/dts/gemini-sl93512r.dts

index f4535d635f3bcc32d7ebebd7a7328f778e145f67..254ecbc3d79fef1c7d5249d17603a3b1e17bfd3d 100644 (file)
                        /* 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>;
                        };
                };
 
index afe655593b28e7d4c91163cf09eb233feac75ca7..5f70e01af7ece8184406078f6d529c6414d41522 100644 (file)
                        /* 16MB of flash */
                        reg = <0x30000000 0x01000000>;
 
-                       partition@0 {
-                               label = "BOOT";
-                               reg = <0x00000000 0x00020000>;
-                               read-only;
-                       };
-                       partition@120000 {
-                               label = "Kern";
-                               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>;
                        };
                };
 
This page took 0.075287 seconds and 4 git commands to generate.