xburst: switch to 3.8
[openwrt.git] / target / linux / xburst / patches-3.3 / 0020-qi_lb60-NAND-add-data-partition.patch
1 From 1d7ef3445db5aebf48c90b20e18630633623c750 Mon Sep 17 00:00:00 2001
2 From: Xiangfu Liu <xiangfu@macbook.(none)>
3 Date: Fri, 19 Aug 2011 15:46:52 +0800
4 Subject: [PATCH 20/21] qi_lb60: NAND: add data partition
5
6 ---
7  arch/mips/jz4740/board-qi_lb60.c |    7 ++++++-
8  1 files changed, 6 insertions(+), 1 deletions(-)
9
10 --- a/arch/mips/jz4740/board-qi_lb60.c
11 +++ b/arch/mips/jz4740/board-qi_lb60.c
12 @@ -118,8 +118,13 @@ static struct mtd_partition qi_lb60_part
13         {
14                 .name = "NAND ROOTFS partition",
15                 .offset = 8 * 0x100000,
16 -               .size = (504 + 512 + 1024) * 0x100000,
17 +               .size = 512 * 0x100000,
18         },
19 +        { 
20 +               .name = "NAND DATA partition",
21 +               .offset = 520 * 0x100000,
22 +               .size = 1528 * 0x100000,
23 +        },
24  };
25  
26  static void qi_lb60_nand_ident(struct platform_device *pdev,