mtd/drivers/mtd/maps sa1100-flash.c,1.26,1.27

Marius Groeger mag at infradead.org
Tue Apr 23 09:52:18 EDT 2002


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

Modified Files:
	sa1100-flash.c 
Log Message:
Add support for generic kernel command line partition table
configuration. Replaces drivers/mtd/bootldr.c.

Replace drivers/mtd/bootldr.c by drivers/mtd/cmdline.c
Replace CONFIG_MTD_BOOTLDR_PARTS by CONFIG_MTD_CMDLINE_PARTS
Add Configure.help entry.
Remove extra tab in drivers/mtd/Makefile


Index: sa1100-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/sa1100-flash.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- sa1100-flash.c	13 Mar 2002 16:30:44 -0000	1.26
+++ sa1100-flash.c	23 Apr 2002 13:52:15 -0000	1.27
@@ -975,11 +975,11 @@
 		}
 	}
 #endif
-#ifdef CONFIG_MTD_BOOTLDR_PARTS
+#ifdef CONFIG_MTD_CMDLINE_PARTS
 	if (parsed_nr_parts == 0) {
-		int ret = parse_bootldr_partitions(mymtd, &parsed_parts);
+		int ret = parse_cmdline_partitions(mymtd, &parsed_parts, "sa1100");
 		if (ret > 0) {
-			part_type = "Compaq bootldr";
+			part_type = "Command Line";
 			parsed_nr_parts = ret;
 		}
 	}





More information about the linux-mtd-cvs mailing list