mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 17:59:21 +02:00
patches-2.6.37: support for Ben NAND partitioning
This commit is contained in:
parent
948a9cc172
commit
1fdde47505
17
target/linux/xburst/patches-2.6.37/999-board-qi_lb60.patch
Normal file
17
target/linux/xburst/patches-2.6.37/999-board-qi_lb60.patch
Normal file
@ -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,
|
Loading…
Reference in New Issue
Block a user