aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/xburst/patches-3.8/0020-qi_lb60-NAND-add-data-partition.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-03-10 13:24:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-03-10 13:24:50 +0000
commit3a8f81608f4913ab506ce738996afd5f1e98eb09 (patch)
tree37f05a677fdf45100e3a5977b28effab0da1a04a /target/linux/xburst/patches-3.8/0020-qi_lb60-NAND-add-data-partition.patch
parent8a147f297098a8e2cffe599157fe22054f5e41e8 (diff)
downloadmaster-187ad058-3a8f81608f4913ab506ce738996afd5f1e98eb09.tar.gz
master-187ad058-3a8f81608f4913ab506ce738996afd5f1e98eb09.tar.bz2
master-187ad058-3a8f81608f4913ab506ce738996afd5f1e98eb09.zip
xburst: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35932 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/patches-3.8/0020-qi_lb60-NAND-add-data-partition.patch')
-rw-r--r--target/linux/xburst/patches-3.8/0020-qi_lb60-NAND-add-data-partition.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-3.8/0020-qi_lb60-NAND-add-data-partition.patch b/target/linux/xburst/patches-3.8/0020-qi_lb60-NAND-add-data-partition.patch
new file mode 100644
index 0000000000..9d45dd8698
--- /dev/null
+++ b/target/linux/xburst/patches-3.8/0020-qi_lb60-NAND-add-data-partition.patch
@@ -0,0 +1,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,