| 1 | --- a/arch/arm/mach-orion5x/dns323-setup.c |
| 2 | +++ b/arch/arm/mach-orion5x/dns323-setup.c |
| 3 | @@ -113,6 +113,13 @@ subsys_initcall(dns323_pci_init); |
| 4 | * 0x00020000-0x001a0000 : "Linux Kernel" |
| 5 | * 0x001a0000-0x007d0000 : "File System" |
| 6 | * 0x007d0000-0x00800000 : "u-boot" |
| 7 | + * |
| 8 | + * Layout as used by OpenWrt |
| 9 | + * 0x00000000-0x00010000 : "MTD1" |
| 10 | + * 0x00010000-0x00020000 : "MTD2" |
| 11 | + * 0x00020000-0x001a0000 : "kernel" |
| 12 | + * 0x001a0000-0x007d0000 : "rootfs" |
| 13 | + * 0x007d0000-0x00800000 : "u-boot" |
| 14 | */ |
| 15 | |
| 16 | #define DNS323_NOR_BOOT_BASE 0xf4000000 |
| 17 | @@ -128,11 +135,11 @@ static struct mtd_partition dns323_parti |
| 18 | .size = 0x00010000, |
| 19 | .offset = 0x00010000, |
| 20 | }, { |
| 21 | - .name = "Linux Kernel", |
| 22 | + .name = "kernel", |
| 23 | .size = 0x00180000, |
| 24 | .offset = 0x00020000, |
| 25 | }, { |
| 26 | - .name = "File System", |
| 27 | + .name = "rootfs", |
| 28 | .size = 0x00630000, |
| 29 | .offset = 0x001A0000, |
| 30 | }, { |
| 31 | |