From: alfred hitch <alfred.hitch@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: 2nd flash detection on ixp425 based boards
Date: Thu, 7 Apr 2005 01:39:38 -0400 [thread overview]
Message-ID: <29f916510504062239522af179@mail.gmail.com> (raw)
In-Reply-To: <29f91651050406194833bd6bda@mail.gmail.com>
Hi,
could some one please help me understand that why is the
genprobe_ident_chips function .. working this way ?
that is in for loop adding probed device size again ??
wouldnt it cause it to miss probes for devices whose size is lower
than firsqt one .. ?
Anyone provide some input ?
and surprisingly, when I remove this check / patch it to not add .. I
am able to work with my flash just fine .. ?
so what was the reason to do it that way ?
Cheers,
Alfred
---------- Forwarded message ----------
From: alfred hitch <alfred.hitch@gmail.com>
Date: Apr 6, 2005 4:32 AM
Subject: 2nd flash detection on ixp425 based boards
To: linux-mtd@lists.infradead.org
Hi,
This is regading cfi probe for multiple flash chips ..
On my IXP425 based board, with 2 chips, one on CS0(16MB)
and other on CS1 (16 MB) ..
I am able to probe and write through to these devices in my probe ..
all's well .
but today, we were changing hardware configuration to have 8MB on CS1
in stead of 16MB ..
and I notice that in the gen_probe.c -> genprobe_ident_chips function ..
the for loop which checks for base size is to map->size will not pass thru ..
that is it will say find 16 + 16 <= 24 (configured as window_size)
I see a comment above it also saying that this is to check that the
size is good enough to accomodate another chip of same size in this
probe..
Please help me understand that why are we doing it this way .. is h/w
config like we are trying to have wrong ? why cannot I put base <
cfi.chipshiftsize in
that for loop and map both the devices .. why does the second one has
to be this way of size more or equal to first one ..
Cheers,
Alfred
prev parent reply other threads:[~2005-04-07 5:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-06 8:32 2nd flash detection on ixp425 based boards alfred hitch
[not found] ` <29f91651050406194833bd6bda@mail.gmail.com>
2005-04-07 5:39 ` alfred hitch [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=29f916510504062239522af179@mail.gmail.com \
--to=alfred.hitch@gmail.com \
--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