Supported flash memory

Nicolas Pitre nico at
Fri Jan 5 13:01:18 EST 2001

On Fri, 5 Jan 2001, David Woodhouse wrote:

> kenneth.johansson at said:
> >  Well with SRAM you can intercange any data pin with another data pin
> > and likewise with the adress bus and nothing would notice. Doing this
> > with ROM or FLASH makes things quite interesting. This would mean that
> > anything trying to program the device has to do translation.
> For address lines, this is fixed up by the 'map' driver. For data lines it's
> a little more annoying. But include/linux/cfi_endian.h could theoretically
> at least do any form of swapping you desire.

This is required only for flash in command mode, so cfi_build_cmd() is the
best place to shuffle bits.  Everything is likely to be shuffled at compile
time and raw reads/writes aren't impacted.


To unsubscribe, send "unsubscribe mtd" to majordomo at

More information about the linux-mtd mailing list