* CFI chip detection
@ 2000-08-07 9:27 David Vrabel
2000-08-07 12:51 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: David Vrabel @ 2000-08-07 9:27 UTC (permalink / raw)
To: mtd
Hi,
In cfi_cfi_probe() there is
for (base = (1<<cfi.chipshift) * cfi.interleave; base < map->size; base
+=
(1<<cfi.chipshift) * cfi.interleave)
cfi_probe_new_chip(map, base, &chip[0], &cfi);
...
to detect aditional chips. However is did not work on the board I have
(SBC-MediaGX). Removing the `* cfi.interleave' caused additional chips
to be detected. Is this a quirk particular to this board or is the
above code wrong?
The SBC-MediaGX has:
1x 28F640 in x8 mode for the 8 Mbyte board
2x 28F640 in x8 mode for the 16 Mbyte board
David Vrabel
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CFI chip detection
2000-08-07 9:27 CFI chip detection David Vrabel
@ 2000-08-07 12:51 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2000-08-07 12:51 UTC (permalink / raw)
To: David Vrabel; +Cc: mtd
dvrabel@arcom.co.uk said:
> Removing the `* cfi.interleave' caused additional chips to be
> detected. Is this a quirk particular to this board or is the above
> code wrong?
> The SBC-MediaGX has:
> 1x 28F640 in x8 mode for the 8 Mbyte board
> 2x 28F640 in x8 mode for the 16 Mbyte board
Odd. How exactly are the chips mapped in the 16 MB board? Are they
interleaved, or just concurrently mapped?
Can you show the output when it fails to detect the second chip?
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-08-07 12:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-07 9:27 CFI chip detection David Vrabel
2000-08-07 12:51 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox