kirkwood/dockstar: rename partition into ubi to use auto detection of target mtd
[openwrt.git] / target / linux / kirkwood / patches-3.18 / 140-dockstar.patch
1 --- a/arch/arm/boot/dts/kirkwood-dockstar.dts
2 +++ b/arch/arm/boot/dts/kirkwood-dockstar.dts
3 @@ -77,18 +77,22 @@
4  
5         partition@0 {
6                 label = "u-boot";
7 -               reg = <0x0000000 0x100000>;
8 -               read-only;
9 +               reg = <0x0000000 0xe0000>;
10 +       };
11 +
12 +       partition@e0000 {
13 +               label = "u-boot environment";
14 +               reg = <0xe0000 0x100000>;
15         };
16  
17         partition@100000 {
18 -               label = "uImage";
19 -               reg = <0x0100000 0x400000>;
20 +               label = "second stage u-boot";
21 +               reg = <0x100000 0x200000>;
22         };
23  
24 -       partition@500000 {
25 -               label = "data";
26 -               reg = <0x0500000 0xfb00000>;
27 +       partition@200000 {
28 +               label = "ubi";
29 +               reg = <0x200000 0xfe00000>;
30         };
31  };
32