summaryrefslogtreecommitdiffstats
path: root/target/linux/xburst/patches-3.2/0020-qi_lb60-NAND-add-data-partition.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2012-04-08 12:09:52 +0000
committerMirko Vogt <mirko@openwrt.org>2012-04-08 12:09:52 +0000
commitb0971e69f2ff110d6fc6e52a601e4e87d707e758 (patch)
treed594fb132701a129c7777b38ed192e9ccbe39987 /target/linux/xburst/patches-3.2/0020-qi_lb60-NAND-add-data-partition.patch
parent626e1717642e933af0f15a387caadb16178c0254 (diff)
downloadmaster-31e0f0ae-b0971e69f2ff110d6fc6e52a601e4e87d707e758.tar.gz
master-31e0f0ae-b0971e69f2ff110d6fc6e52a601e4e87d707e758.tar.bz2
master-31e0f0ae-b0971e69f2ff110d6fc6e52a601e4e87d707e758.zip
level up target xburst to linux kernel version 3.2.1
Thanks to the qi-hardware project - especially to Lars, Maarten and Xiangfu SVN-Revision: 31218
Diffstat (limited to 'target/linux/xburst/patches-3.2/0020-qi_lb60-NAND-add-data-partition.patch')
-rw-r--r--target/linux/xburst/patches-3.2/0020-qi_lb60-NAND-add-data-partition.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-3.2/0020-qi_lb60-NAND-add-data-partition.patch b/target/linux/xburst/patches-3.2/0020-qi_lb60-NAND-add-data-partition.patch
new file mode 100644
index 0000000000..5121ddcd85
--- /dev/null
+++ b/target/linux/xburst/patches-3.2/0020-qi_lb60-NAND-add-data-partition.patch
@@ -0,0 +1,31 @@
+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(-)
+
+diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c
+index be14dfb..4e24b95 100644
+--- 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_partitions_2gb[] = {
+ {
+ .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,
+--
+1.7.5.4
+