]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: armada-385-linksys: use binary unit prefixes
authorRalph Sennhauser <ralph.sennhauser@gmail.com>
Sun, 21 May 2017 12:48:57 +0000 (14:48 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Sat, 17 Jun 2017 06:16:46 +0000 (08:16 +0200)
Use IEEE 1541-2002 unit prefixes for sizes.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-385-linksys.dtsi

index f1d6b77c73febc2ab4c2c7f841fb723419fdc5be..4049eaf80638fbe5f386b82fde97da09270cb4e8 100644 (file)
@@ -52,7 +52,7 @@ chosen {
 
        memory {
                device_type = "memory";
-               reg = <0x00000000 0x20000000>; /* 512 MB */
+               reg = <0x00000000 0x20000000>; /* 512 MiB */
        };
 
        soc {
@@ -180,50 +180,50 @@ &nand {
 
        partition@0 {
                label = "u-boot";
-               reg = <0x0000000 0x200000>;  /* 2MB */
+               reg = <0x0000000 0x200000>;  /* 2MiB */
                read-only;
        };
 
        partition@100000 {
                label = "u_env";
-               reg = <0x200000 0x40000>;    /* 256KB */
+               reg = <0x200000 0x40000>;    /* 256KiB */
        };
 
        partition@140000 {
                label = "s_env";
-               reg = <0x240000 0x40000>;    /* 256KB */
+               reg = <0x240000 0x40000>;    /* 256KiB */
        };
 
        partition@900000 {
                label = "devinfo";
-               reg = <0x900000 0x100000>;   /* 1MB */
+               reg = <0x900000 0x100000>;   /* 1MiB */
                read-only;
        };
 
        /* kernel1 overlaps with rootfs1 by design */
        partition@a00000 {
                label = "kernel1";
-               reg = <0xa00000 0x2800000>;  /* 40MB */
+               reg = <0xa00000 0x2800000>;  /* 40MiB */
        };
 
        partition@1000000 {
                label = "rootfs1";
-               reg = <0x1000000 0x2200000>;  /* 34MB */
+               reg = <0x1000000 0x2200000>;  /* 34MiB */
        };
 
        /* kernel2 overlaps with rootfs2 by design */
        partition@3200000 {
                label = "kernel2";
-               reg = <0x3200000 0x2800000>; /* 40MB */
+               reg = <0x3200000 0x2800000>; /* 40MiB */
        };
 
        partition@3800000 {
                label = "rootfs2";
-               reg = <0x3800000 0x2200000>; /* 34MB */
+               reg = <0x3800000 0x2200000>; /* 34MiB */
        };
 
        /*
-        * 38MB, last MB is for the BBT, not writable
+        * 38MiB, last MiB is for the BBT, not writable
         */
        partition@5a00000 {
                label = "syscfg";
@@ -238,7 +238,7 @@ partition@5a00000 {
         */
        partition@180000 {
                label = "unused_area";
-               reg = <0x280000 0x680000>;   /* 6.5MB */
+               reg = <0x280000 0x680000>;   /* 6.5MiB */
        };
 };