summaryrefslogtreecommitdiffstats
path: root/target/linux/orion/patches-3.3/300-dns323_partition_map.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-29 15:20:40 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-29 15:20:40 +0000
commitc3bfb23a87db33db383a9fdd24bb4a7d91bd808e (patch)
treedc62f0db1ec5c1f7800c1ca304612e531a990c70 /target/linux/orion/patches-3.3/300-dns323_partition_map.patch
parent418e0144a0b5eaad3491a7c882106b2267e0d3d3 (diff)
orion: add 3.3 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31528 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/orion/patches-3.3/300-dns323_partition_map.patch')
-rw-r--r--target/linux/orion/patches-3.3/300-dns323_partition_map.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/orion/patches-3.3/300-dns323_partition_map.patch b/target/linux/orion/patches-3.3/300-dns323_partition_map.patch
new file mode 100644
index 000000000..6eab81fd5
--- /dev/null
+++ b/target/linux/orion/patches-3.3/300-dns323_partition_map.patch
@@ -0,0 +1,30 @@
+--- a/arch/arm/mach-orion5x/dns323-setup.c
++++ b/arch/arm/mach-orion5x/dns323-setup.c
+@@ -113,6 +113,13 @@ subsys_initcall(dns323_pci_init);
+ * 0x00020000-0x001a0000 : "Linux Kernel"
+ * 0x001a0000-0x007d0000 : "File System"
+ * 0x007d0000-0x00800000 : "u-boot"
++ *
++ * Layout as used by OpenWrt
++ * 0x00000000-0x00010000 : "MTD1"
++ * 0x00010000-0x00020000 : "MTD2"
++ * 0x00020000-0x001a0000 : "kernel"
++ * 0x001a0000-0x007d0000 : "rootfs"
++ * 0x007d0000-0x00800000 : "u-boot"
+ */
+
+ #define DNS323_NOR_BOOT_BASE 0xf4000000
+@@ -128,11 +135,11 @@ static struct mtd_partition dns323_parti
+ .size = 0x00010000,
+ .offset = 0x00010000,
+ }, {
+- .name = "Linux Kernel",
++ .name = "kernel",
+ .size = 0x00180000,
+ .offset = 0x00020000,
+ }, {
+- .name = "File System",
++ .name = "rootfs",
+ .size = 0x00630000,
+ .offset = 0x001A0000,
+ }, {