summaryrefslogtreecommitdiff
path: root/target/linux/ppc44x/patches-3.18
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-03-11 12:20:03 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-03-11 12:20:03 +0000
commit57b447281dbe7afa5a10d3af20c8081cad575246 (patch)
treed04490098543d8f28549973f77deed7638e6d581 /target/linux/ppc44x/patches-3.18
parent17610e743020924e985026362b6f079b654ec592 (diff)
downloadmtk-20170518-57b447281dbe7afa5a10d3af20c8081cad575246.zip
mtk-20170518-57b447281dbe7afa5a10d3af20c8081cad575246.tar.gz
mtk-20170518-57b447281dbe7afa5a10d3af20c8081cad575246.tar.bz2
ppc44x: use the mtdsplit framework for the Taishan
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44652
Diffstat (limited to 'target/linux/ppc44x/patches-3.18')
-rw-r--r--target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch13
-rw-r--r--target/linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch4
2 files changed, 8 insertions, 9 deletions
diff --git a/target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch b/target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch
index 471e686..5a0295e 100644
--- a/target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch
+++ b/target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch
@@ -1,19 +1,18 @@
--- a/arch/powerpc/boot/dts/taishan.dts
+++ b/arch/powerpc/boot/dts/taishan.dts
-@@ -195,15 +195,15 @@
+@@ -194,16 +194,12 @@
+ #address-cells = <1>;
#size-cells = <1>;
partition@0 {
- label = "kernel";
+- label = "kernel";
- reg = <0x0 0x180000>;
-+ reg = <0x0 0x200000>;
++ label = "firmware";
++ reg = <0x0 0x3e00000>;
};
- partition@180000 {
- label = "root";
- reg = <0x180000 0x200000>;
-+ partition@200000 {
-+ label = "rootfs";
-+ reg = <0x200000 0x3c00000>;
- };
+- };
- partition@380000 {
- label = "user";
- reg = <0x380000 0x3bc0000>;
diff --git a/target/linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch b/target/linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch
index e619430..bcf1871 100644
--- a/target/linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch
+++ b/target/linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch
@@ -1,9 +1,9 @@
--- a/arch/powerpc/boot/dts/taishan.dts
+++ b/arch/powerpc/boot/dts/taishan.dts
-@@ -423,5 +423,6 @@
+@@ -419,5 +419,6 @@
chosen {
linux,stdout-path = "/plb/opb/serial@40000300";
-+ bootargs = "console=ttyS1,115200 root=/dev/mtdblock1 rootfstype=squashfs noinitrd";
++ bootargs = "rootfstype=squashfs noinitrd";
};
};