Jelajahi Sumber

MTD: Correct Poodle partition size

Correct the MTD NAND partition size for Poodle (Sharp Zaurus SL-5600)

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Richard Purdie 19 tahun lalu
induk
melakukan
6e62e8c2c7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      drivers/mtd/nand/sharpsl.c

+ 1 - 1
drivers/mtd/nand/sharpsl.c

@@ -237,7 +237,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=30 * 1024 * 1024;
+			sharpsl_partition_info[1].size=22 * 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()) {