public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] cmx270-nand: Make CMDLINE_PARTS usable
@ 2006-09-13 12:50 Raphael Assenat
  2006-09-22  9:36 ` David Woodhouse
  0 siblings, 1 reply; 7+ messages in thread
From: Raphael Assenat @ 2006-09-13 12:50 UTC (permalink / raw)
  To: linux-mtd

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]

This patch gives a name to the cmx270 nand mtd, making it possible to use command line
partitioning.

eg:
mtdparts=cmx270-nand:32m(root),8m(data),-(spare)"

does not work without this patch. The default (one full device partition)
hardcoded in the driver is used.


Signed-off-by: Raphael Assenat <raph@8d.com>

[-- Attachment #2: cmx270-nand-cmdlinepart.diff --]
[-- Type: text/plain, Size: 712 bytes --]

This patch gives a name to the cmx270 nand mtd, making it possible to use command line
partitioning. 

eg:
mtdparts=cmx270-nand:32m(root),8m(data),-(spare)"

does not work without this patch. The default (one full device partition)
hardcoded in the driver is used.


Signed-off-by: Raphael Assenat <raph@8d.com>

--- linux-2.6.18-rc2-8d-unionfs/drivers/mtd/nand/cmx270-nand.c	2006-08-17 15:32:02.000000000 -0400
+++ linux-2.6.18-rc2-8d2/drivers/mtd/nand/cmx270-nand.c	2006-09-05 10:23:16.000000000 -0400
@@ -218,6 +218,7 @@
 		goto err2;
 	}
 
+	cmx270_nand_mtd->name = "cmx270-nand";
 #ifdef CONFIG_MTD_CMDLINE_PARTS
 	mtd_parts_nb = parse_mtd_partitions(cmx270_nand_mtd, part_probes,
 					    &mtd_parts, 0);

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-09-25 15:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-13 12:50 [PATCH] cmx270-nand: Make CMDLINE_PARTS usable Raphael Assenat
2006-09-22  9:36 ` David Woodhouse
2006-09-22 14:15   ` Raphael Assenat
2006-09-22 14:44     ` David Woodhouse
2006-09-25 13:07       ` Raphael Assenat
2006-09-25 14:57         ` Raphael Assenat
2006-09-25 14:22       ` [PATCH][RESEND] [MTD] CM-x270 NAND flash support (Was [PATCH] cmx270-nand: Make CMDLINE_PARTS usable) Mike Rapoport

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox