summaryrefslogtreecommitdiff
path: root/target/linux/xburst/patches-3.3/0020-qi_lb60-NAND-add-data-partition.patch
blob: 9d45dd869834b67631044df605a8e3cdc15244b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 1d7ef3445db5aebf48c90b20e18630633623c750 Mon Sep 17 00:00:00 2001
From: Xiangfu Liu <xiangfu@macbook.(none)>
Date: Fri, 19 Aug 2011 15:46:52 +0800
Subject: [PATCH 20/21] qi_lb60: NAND: add data partition

---
 arch/mips/jz4740/board-qi_lb60.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

--- a/arch/mips/jz4740/board-qi_lb60.c
+++ b/arch/mips/jz4740/board-qi_lb60.c
@@ -118,8 +118,13 @@ static struct mtd_partition qi_lb60_part
 	{
 		.name = "NAND ROOTFS partition",
 		.offset = 8 * 0x100000,
-		.size = (504 + 512 + 1024) * 0x100000,
+		.size = 512 * 0x100000,
 	},
+        { 
+		.name = "NAND DATA partition",
+          	.offset = 520 * 0x100000,
+          	.size = 1528 * 0x100000,
+        },
 };
 
 static void qi_lb60_nand_ident(struct platform_device *pdev,