summaryrefslogtreecommitdiffstats
path: root/target/linux/orion/patches/100-openwrt_partition_map.patch
blob: d95e2ec8b64636cea0cd9bb1883170411ec0cf3f (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/wrt350n-v2-setup.c
+++ b/arch/arm/mach-orion5x/wrt350n-v2-setup.c
@@ -56,19 +56,11 @@ static struct mtd_partition wrt350n_v2_n
 	{
 		.name		= "kernel",
 		.offset		= 0x00000000,
-		.size		= 0x00760000,
+		.size		= 0x00100000,
 	}, {
 		.name		= "rootfs",
-		.offset		= 0x001a0000,
-		.size		= 0x005c0000,
-	}, {
-		.name		= "lang",
-		.offset		= 0x00760000,
-		.size		= 0x00040000,
-	}, {
-		.name		= "nvram",
-		.offset		= 0x007a0000,
-		.size		= 0x00020000,
+		.offset		= 0x00100000,
+		.size		= 0x006c0000,
 	}, {
 		.name		= "u-boot",
 		.offset		= 0x007c0000,