LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* MTD types
@ 2008-03-02 20:19 Adrian McMenamin
  2008-03-03 14:01 ` Jörn Engel
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian McMenamin @ 2008-03-02 20:19 UTC (permalink / raw)
  To: LKML, dwmw2; +Cc: linux-sh

A long time ago I took some work Paul Mundt did and used to build a
working driver for the Sega Dreamcast Visual Memory Unit flash memory.

I am now trying to revive that for 2.6 kernels.

In the past the flash was simply described as MTD_OTHER - but I see from:

http://lkml.org/lkml/2006/4/13/151

that type was axed as it was thought unused (not unreasonable - my &
Paul's driver resided in the Dreamcast Linux CVS, not anywhere near
mainline).

I am loathe to just post a patch adding it back, so does it make any
difference if I use another type (I really have no idea of what the
physical type used in the Dreamcast is, though possibly someone here
might?)

Adrian

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MTD types
  2008-03-02 20:19 MTD types Adrian McMenamin
@ 2008-03-03 14:01 ` Jörn Engel
  0 siblings, 0 replies; 2+ messages in thread
From: Jörn Engel @ 2008-03-03 14:01 UTC (permalink / raw)
  To: Adrian McMenamin; +Cc: LKML, dwmw2, linux-sh

On Sun, 2 March 2008 20:19:09 +0000, Adrian McMenamin wrote:
> 
> I am loathe to just post a patch adding it back, so does it make any
> difference if I use another type (I really have no idea of what the
> physical type used in the Dreamcast is, though possibly someone here
> might?)

There is also a bit of confusion about what any specific time should
_mean_.  Once upon a time NAND flash had ECC, could be written only once
(i.e. not write single bits by cleverly masking and rewriting), had a
well-known amount of OOB for general use, etc. while NOR could be
written bit-by-bit, rewritten, did not have ECC, had a higher quality
and all that.

These days you can buy NOR flashes that have all attributes of NAND
except OOB, NAND flashes may use all OOB area for error correction, etc.
etc.  In short, there is just about nothing left you can use the type
for.  And when it is used in JFFS2, you will find lots of code like "if
it is this type, but not that exception, then...".

Jörn

-- 
"Translations are and will always be problematic. They inflict violence
upon two languages." (translation from German)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-03 14:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-02 20:19 MTD types Adrian McMenamin
2008-03-03 14:01 ` Jörn Engel

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).