ar71xx: wrap long lines in the upgrade script
[openwrt.git] / target / linux / orion / patches / 100-wrt350nv2_openwrt_partition_map.patch
1 --- a/arch/arm/mach-orion5x/wrt350n-v2-setup.c
2 +++ b/arch/arm/mach-orion5x/wrt350n-v2-setup.c
3 @@ -135,11 +135,11 @@ static struct mtd_partition wrt350n_v2_n
4 {
5 .name = "kernel",
6 .offset = 0x00000000,
7 - .size = 0x00760000,
8 + .size = 0x00100000, // change to kernel mtd size here (1/3)
9 }, {
10 .name = "rootfs",
11 - .offset = 0x001a0000,
12 - .size = 0x005c0000,
13 + .offset = 0x00100000, // change to kernel mtd size here (2/3)
14 + .size = 0x00650000, // adopt to kernel mtd size here (3/3) = 0x00750000 - <kernel mtd size>
15 }, {
16 .name = "lang",
17 .offset = 0x00760000,
18 @@ -152,6 +152,14 @@ static struct mtd_partition wrt350n_v2_n
19 .name = "u-boot",
20 .offset = 0x007c0000,
21 .size = 0x00040000,
22 + }, {
23 + .name = "eRcOmM_do_not_touch",
24 + .offset = 0x00750000,
25 + .size = 0x00010000, // erasesize
26 + }, {
27 + .name = "image", // for sysupgrade
28 + .offset = 0x00000000,
29 + .size = 0x00750000,
30 },
31 };
32
This page took 0.0482590000000001 seconds and 5 git commands to generate.