提交 7ba48c45 编写于 作者: R Richard Purdie 提交者: Thomas Gleixner

[MTD] NAND SharpSL fix default partition size

Correct Poodle default partition size
Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 8fabed4a
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* Copyright (C) 2004 Richard Purdie * Copyright (C) 2004 Richard Purdie
* *
* $Id: sharpsl.c,v 1.3 2005/01/03 14:53:50 rpurdie Exp $ * $Id: sharpsl.c,v 1.4 2005/01/23 11:09:19 rpurdie Exp $
* *
* Based on Sharp's NAND driver sharp_sl.c * Based on Sharp's NAND driver sharp_sl.c
* *
...@@ -216,7 +216,7 @@ sharpsl_nand_init(void) ...@@ -216,7 +216,7 @@ sharpsl_nand_init(void)
nr_partitions = DEFAULT_NUM_PARTITIONS; nr_partitions = DEFAULT_NUM_PARTITIONS;
sharpsl_partition_info = sharpsl_nand_default_partition_info; sharpsl_partition_info = sharpsl_nand_default_partition_info;
if (machine_is_poodle()) { if (machine_is_poodle()) {
sharpsl_partition_info[1].size=22 * 1024 * 1024; sharpsl_partition_info[1].size=30 * 1024 * 1024;
} else if (machine_is_corgi() || machine_is_shepherd()) { } else if (machine_is_corgi() || machine_is_shepherd()) {
sharpsl_partition_info[1].size=25 * 1024 * 1024; sharpsl_partition_info[1].size=25 * 1024 * 1024;
} else if (machine_is_husky()) { } else if (machine_is_husky()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册