aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/orion/patches-4.9/101-wnr854t_partition_map.patch
blob: 881cfb773ea5d77070d4a6e3cc26c80ac4987fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/arch/arm/mach-orion5x/wnr854t-setup.c
+++ b/arch/arm/mach-orion5x/wnr854t-setup.c
@@ -57,15 +57,19 @@ static struct mtd_partition wnr854t_nor_
 	{
 		.name		= "kernel",
 		.offset		= 0x00000000,
-		.size		= 0x00100000,
+		.size		= 0x00140000,
 	}, {
 		.name		= "rootfs",
-		.offset		= 0x00100000,
-		.size		= 0x00660000,
+		.offset		= 0x00140000,
+		.size		= 0x00620000,
 	}, {
 		.name		= "uboot",
 		.offset		= 0x00760000,
 		.size		= 0x00040000,
+	}, {
+		.name		= "image",	// for sysupgrade
+		.offset		= 0x00000000,
+		.size		= 0x00760000,
 	},
 };