[at91] Add support for u-boot
[15.05/openwrt.git] / target / linux / at91 / patches-2.6.25 / 014-initpartition.patch
1 --- a/drivers/mtd/devices/at91_dataflash.c
2 +++ b/drivers/mtd/devices/at91_dataflash.c
3 @@ -163,12 +163,12 @@ static struct mtd_partition static_parti
4                 .mask_flags     = MTD_WRITEABLE,        /* read-only */
5         },
6         {
7 -               .name           = "kernel",
8 +               .name           = "knlroot",
9                 .offset         = MTDPART_OFS_NXTBLK,
10 -               .size           = 5 * 32 * 8 * 1056,    /* 5 sectors */
11 +               .size           = 0x320400,
12         },
13         {
14 -               .name           = "filesystem",
15 +               .name           = "jffs2",
16                 .offset         = MTDPART_OFS_NXTBLK,
17                 .size           = MTDPART_SIZ_FULL,     /* rest = 26 sectors */
18         }