diff options
| author | Imre Kaloz <kaloz@openwrt.org> | 2008-02-03 14:54:01 +0000 |
|---|---|---|
| committer | Imre Kaloz <kaloz@openwrt.org> | 2008-02-03 14:54:01 +0000 |
| commit | 98236f47c8bf854c4350765de24df6392bf25cfb (patch) | |
| tree | 5e092cc71b419ef4f41dc4222046d1478eed6ba1 /target/linux/ppc44x/patches/001-taishan_openwrt_flashmap.patch | |
| parent | 4f71fabba4e42becf7f5a072cce3df3190961600 (diff) | |
| download | mtk-20170518-98236f47c8bf854c4350765de24df6392bf25cfb.zip mtk-20170518-98236f47c8bf854c4350765de24df6392bf25cfb.tar.gz mtk-20170518-98236f47c8bf854c4350765de24df6392bf25cfb.tar.bz2 | |
convert ppc44x to arch/powerpc, use squashfs images by default
SVN-Revision: 10372
Diffstat (limited to 'target/linux/ppc44x/patches/001-taishan_openwrt_flashmap.patch')
| -rw-r--r-- | target/linux/ppc44x/patches/001-taishan_openwrt_flashmap.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/ppc44x/patches/001-taishan_openwrt_flashmap.patch b/target/linux/ppc44x/patches/001-taishan_openwrt_flashmap.patch new file mode 100644 index 0000000..931b61a --- /dev/null +++ b/target/linux/ppc44x/patches/001-taishan_openwrt_flashmap.patch @@ -0,0 +1,38 @@ +diff -Nur linux-2.6.24/arch/powerpc/boot/dts/taishan.dts linux-2.6.24-owrt/arch/powerpc/boot/dts/taishan.dts +--- linux-2.6.24/arch/powerpc/boot/dts/taishan.dts 2008-01-31 18:55:57.000000000 +0100 ++++ linux-2.6.24-owrt/arch/powerpc/boot/dts/taishan.dts 2008-02-02 23:04:12.000000000 +0100 +@@ -175,6 +175,34 @@ + interrupt-parent = <&UIC1>; + + /* TODO: Add other EBC devices */ ++ nor_flash@0,0 { ++ compatible = "cfi-flash"; ++ bank-width = <4>; ++ device-width = <2>; ++ reg = <0 000000 4000000>; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ partition@0 { ++ label = "kernel"; ++ reg = <0 200000>; ++ }; ++ partition@200000 { ++ label = "rootfs"; ++ reg = <200000 3c00000>; ++ }; ++ partition@3e00000 { ++ label = "diagnostics"; ++ reg = <3e00000 140000>; ++ }; ++ partition@3f40000 { ++ label = "env"; ++ reg = <3f40000 80000>; ++ }; ++ partition@3fc0000 { ++ label = "u-boot"; ++ reg = <3fc0000 40000>; ++ }; ++ }; + }; + + |
