add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
[openwrt/svn-archive/archive.git] / target / linux / avr32-2.6 / patches / 110-openwrt_flashmap.patch
1 diff -Nur linux-2.6.21.3/arch/avr32/boards/atngw100/flash.c linux-2.6.21.3-owrt/arch/avr32/boards/atngw100/flash.c
2 --- linux-2.6.21.3/arch/avr32/boards/atngw100/flash.c 2007-06-07 18:34:04.000000000 +0200
3 +++ linux-2.6.21.3-owrt/arch/avr32/boards/atngw100/flash.c 2007-06-07 18:36:02.000000000 +0200
4 @@ -43,9 +43,14 @@
5 .mask_flags = MTD_WRITEABLE,
6 },
7 {
8 - .name = "root",
9 + .name = "kernel",
10 .offset = 0x00020000,
11 - .size = 0x007d0000,
12 + .size = 0x00100000,
13 + },
14 + {
15 + .name = "rootfs",
16 + .offset = 0x00120000,
17 + .size = 0x006d0000,
18 },
19 {
20 .name = "env",