mtd: chips: support for the new CFI version 1.5 and write buffer programming
authorManoj Chourasia <mchourasia@nvidia.com>
Mon, 26 Mar 2012 09:10:56 +0000 (14:10 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Fri, 30 Mar 2012 16:13:01 +0000 (09:13 -0700)
commit4a64b1e3e1e571e5b66719835f2c669cebaa894d
treee3609cdfff19ea597658a684164e465a3ed35e9b
parent0cb87f8335b7bce04e1851506156f592dfb052be
mtd: chips: support for the new CFI version 1.5 and write buffer programming

This patch add CFI version 1.5 support. It replaces
classic word programming by write buffer programming
and sets the FFS write size to 512 bytes.

The patch taken from spansion

bug 906309

Reviewed-on: http://git-master/r/89412
(cherry picked from commit 733c7ef4b9bdc52ac95095436a5cf83aa0296da5)

Change-Id: I63cbd0bad077e055d6efd4e2b4c7d26c608d1b66
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/91307
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/mtd/chips/cfi_cmdset_0002.c