From: "Uwe Kleine-König" <Uwe.Kleine-Koenig@digi.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: [PATCH 2/4] [RFC] [MTD] cfi_probe: remove Intel chip workaround
Date: Fri, 25 Jul 2008 22:45:50 +0200 [thread overview]
Message-ID: <20080725204550.GA6907@digi.com> (raw)
In-Reply-To: <1216993939.28941.139.camel@shinybook.infradead.org>
Hi David,
David Woodhouse wrote:
> On Tue, 2008-07-22 at 09:38 +0200, Uwe Kleine-König wrote:
> > For me this workaround breaks detection of a M29W128GL flash because it
> > doesn't switch to CFI Query mode after writing 0xff.
> >
> > This workaround was introduced in 2004 between v2.6.8-rc1 and
> > v2.6.8-rc2 in CVS revision 1.77 of cfi_probe.c. ("Send 0xFF to switch Intel
> > chips back to read mode too. Some of them ignore 0xF0")
> >
> > Alternatively writing 0xff *before* 0xf0 works with the M29W128GL.
>
> That's probably what you should do then; your patch as it stands would
> break Intel chips, wouldn't it?
IMHO it depends on how common these chips are today. If they still are,
I'd like to test exchanging the two commands with them before apply it.
After all it might not work for them?! And if there were only a few and
they don't exist anymore today I would like to remove the workaround for
them. That's why I marked my patch as RFC.
As you committed that workaround you might know which chips are/were
affected. And you might even be able to test it and/or judge if the
workaround is still needed today.
Best regards,
Uwe
--
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
next prev parent reply other threads:[~2008-07-25 20:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 7:38 [PATCH 0/4] some mtd fixes Uwe Kleine-König
2008-07-22 7:38 ` [PATCH 1/4] [MTD] remove bogus warning about missing boot bank location Uwe Kleine-König
2008-07-22 7:38 ` [PATCH 2/4] [RFC] [MTD] cfi_probe: remove Intel chip workaround Uwe Kleine-König
2008-07-22 7:39 ` [PATCH 3/4] [MTD] physmap: Fix suspend/resume/shutdown bugs Uwe Kleine-König
2008-07-22 7:39 ` [PATCH 4/4] [MTD] physmap: resume already suspended chips on failure to suspend Uwe Kleine-König
2008-07-25 13:52 ` [PATCH 2/4] [RFC] [MTD] cfi_probe: remove Intel chip workaround David Woodhouse
2008-07-25 20:45 ` Uwe Kleine-König [this message]
2008-07-28 7:21 ` Alexander Belyakov
2008-07-28 14:05 ` Alexey Korolev
2008-08-05 14:41 ` Alexey Korolev
2008-10-19 5:33 ` [PATCH 1/4] [MTD] remove bogus warning about missing boot bank location Christopher Moore
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=20080725204550.GA6907@digi.com \
--to=uwe.kleine-koenig@digi.com \
--cc=dwmw2@infradead.org \
--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