mtd: cfi: add writebufsize initialization
authorAnatolij Gustschin <agust@denx.de>
Thu, 16 Dec 2010 22:42:15 +0000 (23:42 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 6 Jan 2011 15:35:53 +0000 (15:35 +0000)
commitd261c72ae03066dc4798c085e904f7dc996a10fb
tree6f4b4a9aa98ed961ef857464c7d68587106ff95a
parent0e4ca7e5101e7f4054452b8d71c535eec64a187b
mtd: cfi: add writebufsize initialization

Initialize mtd->writebufsize to the value obtained
by CFI query command at probe time.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/cfi_cmdset_0001.c
drivers/mtd/chips/cfi_cmdset_0002.c
drivers/mtd/chips/cfi_cmdset_0020.c