public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Anton Vorontsov <cbou@mail.ru>
To: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: linux-mtd@lists.infradead.org, kernel-discuss@handhelds.org
Subject: Re: [PATCH] physmap-concat map platform driver
Date: Thu, 7 Jun 2007 23:04:18 +0400	[thread overview]
Message-ID: <20070607190418.GA1150@zarina> (raw)
In-Reply-To: <20070607120750.GN2079@xi.wantstofly.org>

On Thu, Jun 07, 2007 at 02:07:51PM +0200, Lennert Buytenhek wrote:
> On Fri, Jun 01, 2007 at 01:58:38AM +0400, Anton Vorontsov wrote:
> 
> > > > This is physmap-concat driver, which is plain sa1100-flash.c
> > > > with factored out arch-specific code. This driver is essential for
> > > > boards using multiple nonindentical chips on the board.
> > > 
> > > Doesn't physmap also support multiple nonidentical chips?
> > 
> > Nope. E.g. if I have two chips, 32M + 16M, second chip will be visible
> > as 32M, which is wrong.
> 
> OK, why is that?  Is that easily fixable?

Don't know why, David said it's what expected in such setup, and that's
indeed what I'm observing. I'm unsure that it needs any fixups though.
For now I'm just registering two physmap devices, per each chip.

> > > What physmap doesn't support is multiple discontiguous memory
> > > regions.
> > 
> > Yes, this is another disadvantage of current physmap.
> > 
> > > Maybe it makes more sense to add that support to physmap
> > > instead?
> > 
> > Well.. more easier solution would be merging physmap-concat to physmap,
> > trying make physmap-concat platform_data-compatible.
> 
> Hmmm, isn't that more or less what I said?  What's the difference?

That's exactly what you've said. I was in hurry and misread your
initial message. Sorry.

> thanks,
> Lennert

Thanks,

-- 
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.org/bd2

  reply	other threads:[~2007-06-07 19:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-26  0:29 [PATCH] physmap-concat map platform driver Anton Vorontsov
2007-05-31 21:27 ` Lennert Buytenhek
2007-05-31 21:58   ` Anton Vorontsov
2007-06-07 12:07     ` Lennert Buytenhek
2007-06-07 19:04       ` Anton Vorontsov [this message]
2008-02-01 13:05     ` Stefan Roese
2008-02-01 14:10       ` Anton Vorontsov

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=20070607190418.GA1150@zarina \
    --to=cbou@mail.ru \
    --cc=buytenh@wantstofly.org \
    --cc=kernel-discuss@handhelds.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox