From: David Woodhouse <dwmw2@infradead.org>
To: "Shoudong Xu" <Shoudong.Xu@cern.ch>
Cc: "MTD" <linux-mtd@lists.infradead.org>
Subject: Re: Can not choose the " Specific CFI Flash geometry selection" opition
Date: Mon, 14 May 2001 10:43:09 +0100 [thread overview]
Message-ID: <18477.989833389@redhat.com> (raw)
In-Reply-To: <004901c0dc57$4b8d97d0$9bca8a89@pcl3af5>
ShoudongXu@cern.ch said:
> I use kernel 2.4.2 and the lastest code ,but can not choose the "
> Specific CFI Flash geometry selection" opition ,please give me some
> advice?
You appear to have enabled a buswidth of 1, but not enabled an interleave
of 1. This doesn't seem very useful - it's difficult to interleave more
than one chip into a bus which is a single byte wide.
We should probably do Config.in magic to prevent this. Either that or
something like...
--- cfi_probe.c 2001/05/10 14:32:09 1.57
+++ cfi_probe.c 2001/05/14 09:42:37
@@ -246,6 +246,9 @@
int index;
switch (map->buswidth) {
#ifdef CFIDEV_BUSWIDTH_1
+#ifndef CFIDEV_INTERLEAVE_1
+#error You have asked to support a buswidth of 1, but have not enabled support for having only one chip interleave. How could this possibly work?
+#endif
case CFIDEV_BUSWIDTH_1:
cfi->interleave = CFIDEV_INTERLEAVE_1;
cfi->device_type = CFI_DEVICETYPE_X8;
(PS. Please fix your From address)
--
dwmw2
prev parent reply other threads:[~2001-05-14 9:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-14 9:21 Can not choose the " Specific CFI Flash geometry selection" opition Shoudong Xu
2001-05-14 9:43 ` David Woodhouse [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=18477.989833389@redhat.com \
--to=dwmw2@infradead.org \
--cc=Shoudong.Xu@cern.ch \
--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