From 1fdde475050530350101ccdb2b026a95201f015b Mon Sep 17 00:00:00 2001 From: kyak Date: Tue, 10 May 2011 20:48:40 +0400 Subject: [PATCH] patches-2.6.37: support for Ben NAND partitioning --- .../patches-2.6.37/999-board-qi_lb60.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 target/linux/xburst/patches-2.6.37/999-board-qi_lb60.patch diff --git a/target/linux/xburst/patches-2.6.37/999-board-qi_lb60.patch b/target/linux/xburst/patches-2.6.37/999-board-qi_lb60.patch new file mode 100644 index 000000000..38e928978 --- /dev/null +++ b/target/linux/xburst/patches-2.6.37/999-board-qi_lb60.patch @@ -0,0 +1,17 @@ +--- 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,