[MTD] CHIPS: Recognize Spansion CFI 1.4 chips
authorTodd Poynor <tpoynor@mvista.com>
Wed, 20 Jul 2005 21:01:17 +0000 (22:01 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Thu, 4 Aug 2005 10:49:25 +0000 (12:49 +0200)
commitd88f977b85d251f548add3d0a76fc186f99b1b21
tree4c8aecff90397868914a286af6328b08cc911e54
parentd95a1b4818f2fe38a3cfc9a7d5817dc9a1a69329
[MTD] CHIPS: Recognize Spansion CFI 1.4 chips

Modify Amd/Fujitsu CFI NOR flash primary vendor extension table revision
check to recognize version 1.4.  Verified the existing driver can
handle version 1.4 chips without additional info from 1.4 extended table.

Move the primary vendor extension table revision check from common file
to the 3 CFI chip driver files, since the data structures and revisions
handled by those data structures are specific to the chip driver.

Modify the error message printed when the revision is unknown to be a
KERN_ERR instead of WARNING since this will cause mtd to ignore the chip.

Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/chips/cfi_cmdset_0001.c
drivers/mtd/chips/cfi_cmdset_0002.c
drivers/mtd/chips/cfi_cmdset_0020.c
drivers/mtd/chips/cfi_util.c