OSDN Git Service

powerpc/mpc85xx: Remove SPI and NAND partition from bsc9131rdb.dtsi
authorAshish Kumar <Ashish.Kumar@freescale.com>
Tue, 7 Oct 2014 12:34:36 +0000 (18:04 +0530)
committerScott Wood <scottwood@freescale.com>
Sat, 8 Nov 2014 00:10:47 +0000 (18:10 -0600)
* Run "mtdparts default" on u-boot to create dynamic partitions
 * Or use dynamic mtd partition with the help of bootargs in u-boot
   Append bootargs with:
    "mtdparts=ff800000.flash:1m(nand_uboot),512K(nand_dtb),8m(nand_kernel),-(fs);\
     spiff707000.0:1m(spi_uboot),4m(spi_kernel),512k(spi_dtb),-(fs)'"

Signed-off-by: Ashish Kumar <Ashish.Kumar@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/boot/dts/bsc9131rdb.dtsi

index 9e6c013..45efcba 100644 (file)
                compatible = "fsl,ifc-nand";
                reg = <0x0 0x0 0x4000>;
 
-               partition@0 {
-                       /* This location must not be altered  */
-                       /* 3MB for u-boot Bootloader Image */
-                       reg = <0x0 0x00300000>;
-                       label = "NAND U-Boot Image";
-                       read-only;
-               };
-
-               partition@300000 {
-                       /* 1MB for DTB Image */
-                       reg = <0x00300000 0x00100000>;
-                       label = "NAND DTB Image";
-               };
-
-               partition@400000 {
-                       /* 8MB for Linux Kernel Image */
-                       reg = <0x00400000 0x00800000>;
-                       label = "NAND Linux Kernel Image";
-               };
-
-               partition@c00000 {
-                       /* Rest space for Root file System Image */
-                       reg = <0x00c00000 0x07400000>;
-                       label = "NAND RFS Image";
-               };
        };
 };
 
                        reg = <0>;
                        spi-max-frequency = <50000000>;
 
-                       /* 512KB for u-boot Bootloader Image */
-                       partition@0 {
-                               reg = <0x0 0x00080000>;
-                               label = "SPI Flash U-Boot Image";
-                               read-only;
-                       };
-
-                       /* 512KB for DTB Image */
-                       partition@80000 {
-                               reg = <0x00080000 0x00080000>;
-                               label = "SPI Flash DTB Image";
-                       };
-
-                       /* 4MB for Linux Kernel Image */
-                       partition@100000 {
-                               reg = <0x00100000 0x00400000>;
-                               label = "SPI Flash Kernel Image";
-                       };
-
-                       /*11MB for RFS Image */
-                       partition@500000 {
-                               reg = <0x00500000 0x00B00000>;
-                               label = "SPI Flash RFS Image";
-                       };
-
                };
        };