[avr32] refresh kernel patches
[openwrt.git] / target / linux / avr32 / patches / 110-openwrt_flashmap.patch
1 Index: linux-2.6.24.7/arch/avr32/boards/atngw100/flash.c
2 ===================================================================
3 --- linux-2.6.24.7.orig/arch/avr32/boards/atngw100/flash.c
4 +++ linux-2.6.24.7/arch/avr32/boards/atngw100/flash.c
5 @@ -45,9 +45,14 @@ static struct mtd_partition flash_parts[
6                 .mask_flags     = MTD_WRITEABLE,
7         },
8         {
9 -               .name           = "root",
10 +               .name           = "kernel",
11                 .offset         = 0x00020000,
12 -               .size           = 0x007d0000,
13 +               .size           = 0x00100000,
14 +       },
15 +       {
16 +               .name           = "rootfs",
17 +               .offset         = 0x00120000,
18 +               .size           = 0x006d0000,
19         },
20         {
21                 .name           = "env",