Add AG241 code pattern (fixes #1089)
[openwrt.git] / target / linux / ppc44x / patches / 001-taishan_openwrt_flashmap.patch
1 diff -Nur linux-2.6.24/arch/powerpc/boot/dts/taishan.dts linux-2.6.24-owrt/arch/powerpc/boot/dts/taishan.dts
2 --- linux-2.6.24/arch/powerpc/boot/dts/taishan.dts 2008-01-31 18:55:57.000000000 +0100
3 +++ linux-2.6.24-owrt/arch/powerpc/boot/dts/taishan.dts 2008-02-02 23:04:12.000000000 +0100
4 @@ -175,6 +175,34 @@
5 interrupt-parent = <&UIC1>;
6
7 /* TODO: Add other EBC devices */
8 + nor_flash@0,0 {
9 + compatible = "cfi-flash";
10 + bank-width = <4>;
11 + device-width = <2>;
12 + reg = <0 000000 4000000>;
13 + #address-cells = <1>;
14 + #size-cells = <1>;
15 + partition@0 {
16 + label = "kernel";
17 + reg = <0 200000>;
18 + };
19 + partition@200000 {
20 + label = "rootfs";
21 + reg = <200000 3c00000>;
22 + };
23 + partition@3e00000 {
24 + label = "diagnostics";
25 + reg = <3e00000 140000>;
26 + };
27 + partition@3f40000 {
28 + label = "env";
29 + reg = <3f40000 80000>;
30 + };
31 + partition@3fc0000 {
32 + label = "u-boot";
33 + reg = <3fc0000 40000>;
34 + };
35 + };
36 };
37
38
This page took 0.052481 seconds and 5 git commands to generate.