Root/
Source at commit 9a1322f created 12 years 4 months ago. By Xiangfu Liu, xburst: ben nanonote: first add WPAN(atben,atusb) driver take from qi-kernel.git thanks to Werner | |
---|---|
1 | From 1878b22649c3ecde1795d6695b92ca02fa9110c2 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 23/32] 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 | diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c |
11 | index b622941..0bc4caa 100644 |
12 | --- a/arch/mips/jz4740/board-qi_lb60.c |
13 | +++ b/arch/mips/jz4740/board-qi_lb60.c |
14 | @@ -118,8 +118,13 @@ static struct mtd_partition qi_lb60_partitions_2gb[] = { |
15 | { |
16 | .name = "NAND ROOTFS partition", |
17 | .offset = 8 * 0x100000, |
18 | - .size = (504 + 512 + 1024) * 0x100000, |
19 | + .size = 512 * 0x100000, |
20 | }, |
21 | + { |
22 | + .name = "NAND DATA partition", |
23 | + .offset = 520 * 0x100000, |
24 | + .size = 1528 * 0x100000, |
25 | + }, |
26 | }; |
27 | |
28 | static void qi_lb60_nand_ident(struct platform_device *pdev, |
29 | -- |
30 | 1.7.4.1 |
31 | |
32 |