[PATCH] CFI: remove major/minor version check for command set 0x0002
dwmw2 at infradead.org
Thu Jan 8 11:48:37 EST 2009
On Thu, 2009-01-08 at 11:47 -0500, Nicolas Pitre 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.
Couldn't you use a quirk to do the latter?
More information about the linux-mtd