* Strange addr_unlock denitions
@ 2001-04-25 8:21 Masami Komiya
0 siblings, 0 replies; only message in thread
From: Masami Komiya @ 2001-04-25 8:21 UTC (permalink / raw)
To: mtd
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-04-25 7:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-25 8:21 Strange addr_unlock denitions Masami Komiya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox