public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* 2nd flash detection on ixp425 based boards
@ 2005-04-06  8:32 alfred hitch
       [not found] ` <29f91651050406194833bd6bda@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: alfred hitch @ 2005-04-06  8:32 UTC (permalink / raw)
  To: linux-mtd

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

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

end of thread, other threads:[~2005-04-07  5:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox