From: David Woodhouse <dwmw2@infradead.org>
To: Laurent Pinchart <laurent.pinchart@tbox.biz>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Preferred way to configure MTD physical mapping and partitioning
Date: Mon, 22 May 2006 23:35:22 +0100 [thread overview]
Message-ID: <1148337323.10288.40.camel@shinybook.infradead.org> (raw)
In-Reply-To: <200605221232.14880.laurent.pinchart@tbox.biz>
On Mon, 2006-05-22 at 12:32 +0200, Laurent Pinchart wrote:
> - adding a board specific "driver" in drivers/mtd/maps and handle all mapping
> manually
> - adding board specific MTD configuration in arch/ppc/platforms with calls to
> physmap_set_partitions() and physmap_configure()
> - adding board specific MTD configuration in arch/ppc/platforms with a call to
> physmap_set_partitions(), and using the CONFIG_MTD_PHYSMAP option with
> physical mapping values provided in the kernel configuration.
>
> Could anyone comment on the preferred approach ?
None of the above. The physmap driver in the MTD git tree already works
with a platform_device, instead of needing a call to physmap_configure()
or manual configuration at build time. Either register a
platform_device, or preferably extend it to use an of_device too.
--
dwmw2
prev parent reply other threads:[~2006-05-22 22:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-22 10:32 Preferred way to configure MTD physical mapping and partitioning Laurent Pinchart
2006-05-22 12:27 ` Thiago Galesi
[not found] ` <200605221500.00634.laurent.pinchart@tbox.biz>
2006-05-22 13:27 ` Thiago Galesi
2006-05-22 16:30 ` Guillaume Autran
2006-05-22 22:35 ` David Woodhouse [this message]
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=1148337323.10288.40.camel@shinybook.infradead.org \
--to=dwmw2@infradead.org \
--cc=laurent.pinchart@tbox.biz \
--cc=linuxppc-embedded@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).