mtd/drivers/mtd/nand sharpsl.c,1.4,1.5

rpurdie at infradead.org rpurdie at infradead.org
Tue Sep 6 10:46:18 EDT 2005


Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv1038/drivers/mtd/nand

Modified Files:
	sharpsl.c 
Log Message:
Add partition definitions for the new Sharp Zaurus models Spitz (SL-C3000), Akita (SL-C1000) and Borzoi (SL-C3100)

Index: sharpsl.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/sharpsl.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sharpsl.c	23 Jan 2005 11:09:19 -0000	1.4
+++ sharpsl.c	6 Sep 2005 14:46:15 -0000	1.5
@@ -221,10 +221,16 @@
 			sharpsl_partition_info[1].size=25 * 1024 * 1024;
 		} else if (machine_is_husky()) {
 			sharpsl_partition_info[1].size=53 * 1024 * 1024;
-		} 		
+		} else if (machine_is_spitz()) {
+			sharpsl_partition_info[1].size=5 * 1024 * 1024;
+		} else if (machine_is_akita()) {
+			sharpsl_partition_info[1].size=58 * 1024 * 1024;
+		} else if (machine_is_borzoi()) {
+			sharpsl_partition_info[1].size=32 * 1024 * 1024;
+		}
 	}
 
-	if (machine_is_husky()) {
+	if (machine_is_husky() || machine_is_borzoi()) {
 		/* Need to use small eraseblock size for backward compatibility */
 		sharpsl_mtd->flags |= MTD_NO_VIRTBLOCKS;
 	}





More information about the linux-mtd-cvs mailing list