[PATCH] CFI: remove major/minor version check for command set 0x0002

Nicolas Pitre nico at cam.org
Thu Jan 8 11:47:44 EST 2009


On Thu, 8 Jan 2009, Wolfgang Grandegger wrote:

> The NOR Flash memory K8P2815UQB from Samsung uses the major version
> number '0', which seems to be unusual but not illegal, IIUC. This
> patch removes the major-minor version check to get this Flash memory
> supported as well.

Instead of removing the test entirely, I'd suggest you augment it with 
the manufacturer ID (cfi->mfr and cfi->id).  Or better yet, just use 
that information to fix up the version number to something sensible.


Nicolas



More information about the linux-mtd mailing list