Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/mpc85xx: Remove SPI and NAND partition from bsc9131rdb.dtsi

* 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>

authored by

Ashish Kumar and committed by
Scott Wood
45c22ed7 6f2ce34d

-50
-50
arch/powerpc/boot/dts/bsc9131rdb.dtsi
··· 40 40 compatible = "fsl,ifc-nand"; 41 41 reg = <0x0 0x0 0x4000>; 42 42 43 - partition@0 { 44 - /* This location must not be altered */ 45 - /* 3MB for u-boot Bootloader Image */ 46 - reg = <0x0 0x00300000>; 47 - label = "NAND U-Boot Image"; 48 - read-only; 49 - }; 50 - 51 - partition@300000 { 52 - /* 1MB for DTB Image */ 53 - reg = <0x00300000 0x00100000>; 54 - label = "NAND DTB Image"; 55 - }; 56 - 57 - partition@400000 { 58 - /* 8MB for Linux Kernel Image */ 59 - reg = <0x00400000 0x00800000>; 60 - label = "NAND Linux Kernel Image"; 61 - }; 62 - 63 - partition@c00000 { 64 - /* Rest space for Root file System Image */ 65 - reg = <0x00c00000 0x07400000>; 66 - label = "NAND RFS Image"; 67 - }; 68 43 }; 69 44 }; 70 45 ··· 56 81 compatible = "spansion,s25sl12801"; 57 82 reg = <0>; 58 83 spi-max-frequency = <50000000>; 59 - 60 - /* 512KB for u-boot Bootloader Image */ 61 - partition@0 { 62 - reg = <0x0 0x00080000>; 63 - label = "SPI Flash U-Boot Image"; 64 - read-only; 65 - }; 66 - 67 - /* 512KB for DTB Image */ 68 - partition@80000 { 69 - reg = <0x00080000 0x00080000>; 70 - label = "SPI Flash DTB Image"; 71 - }; 72 - 73 - /* 4MB for Linux Kernel Image */ 74 - partition@100000 { 75 - reg = <0x00100000 0x00400000>; 76 - label = "SPI Flash Kernel Image"; 77 - }; 78 - 79 - /*11MB for RFS Image */ 80 - partition@500000 { 81 - reg = <0x00500000 0x00B00000>; 82 - label = "SPI Flash RFS Image"; 83 - }; 84 84 85 85 }; 86 86 };