public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Todd Poynor <tpoynor@mvista.com>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: How to cope with locked flash
Date: Thu, 15 Sep 2005 18:37:01 -0700	[thread overview]
Message-ID: <432A21BD.1030008@mvista.com> (raw)
In-Reply-To: <20050915180816.GB9974@wohnheim.fh-wedel.de>

Jörn Engel wrote:

> Next best thing, imo, would be the mtd mapping driver.  JFFS2 should
> stay clear of this, if possible.  We should aim to isolate hardware
> stuff to drivers/mtd/ and keep fs/* unaware.  Some things like wbuf
> require fs knowledge, but unlock doesn't.

Last time I sent a chip-driver-level patch (which knows the power-up 
locking behavior for the particular chips, it was rather ugly since it 
needed a notifier to know when writeable partitions were added), at 
which time the JFFS2 alternative was suggested.  An explicit call from 
the map driver, after parititions are registered, to the chip driver 
should work, avoiding the need for a notifier, and the map driver has 
the "master" struct mtd handle needed for info on the locking behavior 
of the chip (unlock is slow on some chips, best avoided if not needed). 
  I'll float a patch soon.

-- 
Todd

      reply	other threads:[~2005-09-16  1:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15 14:13 How to cope with locked flash Konstantin Kletschke
2005-09-15 16:38 ` Todd Poynor
2005-09-15 18:08   ` Jörn Engel
2005-09-16  1:37     ` Todd Poynor [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=432A21BD.1030008@mvista.com \
    --to=tpoynor@mvista.com \
    --cc=joern@wohnheim.fh-wedel.de \
    --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