CFI with 4 x8/x16 devices on a 32-bit bus
BrettC at nulec.com.au
Tue Apr 10 03:30:55 EDT 2001
> dwmw2 at infradead.org said:
> > If we detect it's a 16-bit device in 8-bit mode, do...
> > cfi->device_type = 1;
> > cfi->addr_unlock1 = 0xaaa;
> > cfi->addr_unlock2 = 0x555;
> Actually, it's probably best not to override the device_type,
> but to change
> the code to always use DEVICE_TYPE_X8 instead of
> cfi->device_type when
> doing the unlock cycles, and set addr_unlock to the
> pre-shifted value
> when cfi->device_type != 1.
OK - this seems to work well. I have attached a patch that does what I think
you are desscibing - for those who are interested.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4934 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20010410/a71743f3/attachment.obj
More information about the linux-mtd