* [PATCH] Fix m28w320cb buffered write
@ 2003-10-20 20:51 Robin Gilks
0 siblings, 0 replies; only message in thread
From: Robin Gilks @ 2003-10-20 20:51 UTC (permalink / raw)
To: mtd list
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
Greetings
Looks like I was on the right lines - the CFI fixups that Stuart
introduced just didn't go far enough!! The m28w320cb doesn't support
buffered write (just like the m28w320ct doesn't) so a 2 line patch fixes
it :-))
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : robin.gilks@tait.co.nz
New Zealand
[-- Attachment #2: mtd-patch --]
[-- Type: text/plain, Size: 687 bytes --]
diff -purN /home/gilksr/mtd/drivers/mtd/chips/cfi_cmdset_0001.c /home/packages/mtd/drivers/mtd/chips/cfi_cmdset_0001.c
--- /home/gilksr/mtd/drivers/mtd/chips/cfi_cmdset_0001.c 2003-08-12 10:00:05.000000000 +1200
+++ /home/packages/mtd/drivers/mtd/chips/cfi_cmdset_0001.c 2003-10-17 16:53:47.000000000 +1300
@@ -147,6 +147,8 @@ static void fixup_st_m28w320cb(struct ma
/* Note this is done after the region info is endian swapped */
cfi->cfiq->EraseRegionInfo[1] =
(cfi->cfiq->EraseRegionInfo[1] & 0xffff0000) | 0x3e;
+ cfi->cfiq->BufWriteTimeoutTyp = 0; /* Not supported */
+ cfi->cfiq->BufWriteTimeoutMax = 0; /* Not supported */
};
static struct cfi_fixup fixup_table[] = {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-20 20:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-20 20:51 [PATCH] Fix m28w320cb buffered write Robin Gilks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox