From: David Woodhouse <dwmw2@infradead.org>
To: Xavier DEBREUIL <xde@inventel.fr>
Cc: linux-mtd@lists.infradead.org
Subject: Re: non cfi flash memory
Date: Tue, 19 Jun 2001 14:24:34 +0100 [thread overview]
Message-ID: <4395.992957074@redhat.com> (raw)
In-Reply-To: <3B2F4DEA.6839BBD0@inventel.fr>
xde@inventel.fr said:
> In fact, as the intel flash 28F160x3 is not cfi, it is useless to use
> do_map_probe("cfi") or something else as I tried to. What should be
> written is the equivalent of amd_flash.c for the flash family which
> include TE28Fxxxx3 from INTEL, M28Wxxx from ST and so on.
No. You don't need to write a whole driver for it. The existing
cfi_cmdset_0001 code can driver the chips just fine. All you need to do is
write a _probe_ routine which can pass control to the existing code, just
like the cfi_probe does.
There's already a hack in the cfi_probe code to find some non-CFI
AMD-compatible chips and use the cfi_cmdset_0002 back end. You want
something similar - but _don't_ add further hacks to the cfi_probe code,
make it an entirely new probe routine like the AMD one should probably
have been.
--
dwmw2
next prev parent reply other threads:[~2001-06-19 13:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-19 13:04 non cfi flash memory Xavier DEBREUIL
2001-06-19 13:24 ` David Woodhouse [this message]
2001-06-19 13:43 ` Abraham vd Merwe
2001-06-19 13:51 ` David Woodhouse
2001-06-19 17:09 ` Xavier DEBREUIL
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=4395.992957074@redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=xde@inventel.fr \
/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