From: Erwin Authried <eauth@softsys.co.at>
To: David Woodhouse <dwmw2@infradead.org>,
'Alice Hennessy' <ahennessy@mvista.com>
Cc: "'mtd@infradead.org'" <mtd@infradead.org>
Subject: Re: JEDEC support broken?
Date: Wed, 15 Nov 2000 12:07:35 +0100 [thread overview]
Message-ID: <01C04EFC.A4EA0860@smithwicks.softsys.co.at> (raw)
Alice Hennessy[SMTP:ahennessy@mvista.com] wrote:
> I have a board that needs support for both cfi and jedec flashes. So,
> the approach
> I have taken is to use physmap.c with an array of "physmap_info" structures
> that describe the window
> address, window size, buswidth and number of partitions for each flash. I
> also use a double array of
> mtd_partition structures to divide each flash into partitions (making use
> of mtdpart.c). This allows multiple
> flashes to be described in one mapping file so the file is really a
> description of a particular board. There is
> a probe for a cfi flash and if that fails, then a probe for a jedec
> flash. This eliminates the use of
> CONFIG_MTD_PHYSMAP_START (and len and buswidth). Is this in keeping with
> the intent
> of the map file?
>
> Alice
>
I'd like to spin your idea a little bit further: Instead of having a description of a particular
board, I'd prefer to have one "generic" linear mapping file that is able to probe for
flash in an adress range that is specified during configuration (starting adress and
length or end of the adress range, and possibly the adress increments for probing, e.g. 1MB).
This way, you would be able to support virtually all boards that carry linear, non-banked flash
without needing a specialized file for every board. That would be especially useful for uClinux ...
-erwin
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next reply other threads:[~2000-11-15 11:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-15 11:07 Erwin Authried [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-11-15 21:13 JEDEC support broken? quine
2000-11-14 11:59 Erwin Authried
2000-11-14 13:16 ` David Woodhouse
2000-11-15 1:10 ` Alice Hennessy
2000-11-15 1:43 ` David Woodhouse
2000-11-15 18:15 ` Alice Hennessy
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=01C04EFC.A4EA0860@smithwicks.softsys.co.at \
--to=eauth@softsys.co.at \
--cc=ahennessy@mvista.com \
--cc=dwmw2@infradead.org \
--cc=mtd@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