"Read-only file system" error while writing

David Woodhouse dwmw2 at infradead.org
Thu Aug 1 06:35:38 EDT 2002


stuart.menefy at st.com said:
> +// SIM: I've added this for the ST chip which reverts to read mode. Ahhh 
> +cfi_write(map, CMD(0x70), adr); 

I think that one's relatively harmless -- we can just stick that in 
unconditionally.

> +	/* The STMicroelectronics M28W320CB device reports incorrect CFI data.
> +	 * Check here and fix up if necessary.

Ug. I think we need to add a generic way to do this kind of thing -- look up
mfr and device ID in a table with certain fixups, and we can do the
AMD_BOOTLOC_BUG this way too.

--
dwmw2






More information about the linux-mtd mailing list