From: Masami Komiya <mkomiya@crossnet.co.jp>
To: mtd@infradead.org
Subject: Strange addr_unlock denitions
Date: Wed, 25 Apr 2001 17:21:43 +0900 [thread overview]
Message-ID: <3AE68917.88DE6614@crossnet.co.jp> (raw)
I think cfi_probe_chip() in cfi_probe.c should be changed
as attached patch. What do you say about this ?
Masami Komiya
diff -c cfi_probe.c.org cfi_probe.c
*** cfi_probe.c.org Wed Apr 18 17:26:35 2001
--- cfi_probe.c Mon Apr 23 19:47:25 2001
***************
*** 198,209 ****
switch (cfi->device_type) {
case CFI_DEVICETYPE_X8:
- cfi->addr_unlock1=0x555;
- cfi->addr_unlock2=0x2aa;
- break;
- case CFI_DEVICETYPE_X16:
cfi->addr_unlock1=0xaaa;
cfi->addr_unlock2=0x555;
break;
case CFI_DEVICETYPE_X32:
cfi->addr_unlock1=0x1555;
--- 198,209 ----
switch (cfi->device_type) {
case CFI_DEVICETYPE_X8:
cfi->addr_unlock1=0xaaa;
cfi->addr_unlock2=0x555;
+ break;
+ case CFI_DEVICETYPE_X16:
+ cfi->addr_unlock1=0x555;
+ cfi->addr_unlock2=0x2aa;
break;
case CFI_DEVICETYPE_X32:
cfi->addr_unlock1=0x1555;
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
reply other threads:[~2001-04-25 7:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3AE68917.88DE6614@crossnet.co.jp \
--to=mkomiya@crossnet.co.jp \
--cc=mtd@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