Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: linux-mtd@lists.infradead.org, Wolfram Sang <w.sang@pengutronix.de>
Subject: Re: Can PYSMAP_COMPAT go?
Date: Tue, 20 Apr 2010 09:05:33 +0100	[thread overview]
Message-ID: <1271750733.14748.1580.camel@macbook.infradead.org> (raw)
In-Reply-To: <20100420073503.GL4586@mail.wantstofly.org>

On Tue, 2010-04-20 at 09:35 +0200, Lennert Buytenhek wrote:
> COMPAT needs to die.  There are at least two other ways of specifying
> the same info (device tree or manual instantiation of a platform device
> from your platform code), and we really shouldn't allow specifying this
> in the .config as that will just give people other crazy ideas. 

If we take it away, they'll get crazier ideas. I've seen a fully-fledged
driver for a new board, including a bizarrely hacked-up copy of all the
CFI code and a special char device interface of its own, which could
have been supported by a simple PHYSMAP setup.

And this was i386, which unfortunately doesn't use the device-tree yet,
although on these embedded SoC devices it really _should_ be doing so.
And it doesn't have 'platform code' either.

If you explicitly configure your kernel to tell it that there is a flash
device at a certain address, then it's reasonable for the kernel to look
there for it. Aunt Tillie can go screw herself.

-- 
dwmw2

  reply	other threads:[~2010-04-20  8:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20  6:35 Can PYSMAP_COMPAT go? Wolfram Sang
2010-04-20  7:35 ` Lennert Buytenhek
2010-04-20  8:05   ` David Woodhouse [this message]
2010-04-20  9:04     ` Wolfram Sang
2010-04-20  9:20       ` David Woodhouse
2010-04-20  9:48         ` Wolfram Sang
2010-04-21  9:19         ` Wolfram Sang
2010-04-21  9:25           ` David Woodhouse

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=1271750733.14748.1580.camel@macbook.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=buytenh@wantstofly.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=w.sang@pengutronix.de \
    /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