jffs2_flash_writev(): Non-contiguous write to 00825300 with mtd_dataflash
Andrew Victor
andrew at sanpeople.com
Thu Nov 30 01:29:59 EST 2006
hi,
> > - device->flags = MTD_CAP_NORFLASH;
> > + device->flags = MTD_WRITEABLE;
>
> That "NORFLASH" flag always seemed bogus to me, but it was at the
> time the only way to make the MTD core behave.
Wouldn't it be better to introduce a MTD_CAP_DATAFLASH.
That way if/when more capability flags are added to MTD core, the
dataflash support will be considered and not forgotten about.
Regards,
Andrew Victor
More information about the linux-mtd
mailing list