From: Raphael Assenat <raph@8d.com>
To: linux-mtd <linux-mtd@lists.infradead.org>
Subject: [PATCH] cmx270-nand: Make CMDLINE_PARTS usable
Date: Wed, 13 Sep 2006 08:50:33 -0400 [thread overview]
Message-ID: <4507FE99.3030106@8d.com> (raw)
[-- 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);
next reply other threads:[~2006-09-13 13:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-13 12:50 Raphael Assenat [this message]
2006-09-22 9:36 ` [PATCH] cmx270-nand: Make CMDLINE_PARTS usable 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4507FE99.3030106@8d.com \
--to=raph@8d.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.