mtd: cfi_cmdset_0002: make sector erase command variable
authorGuillaume LECERF <glecerf@gmail.com>
Tue, 26 Oct 2010 09:45:23 +0000 (10:45 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 26 Oct 2010 10:39:17 +0000 (11:39 +0100)
commit08968041bef437ec363623cd3218c2b083537ada
tree937da129712ee96f3099d762d100543743eed062
parent9fc05fcadadcf3d6ddfe288e2e5c7ad0773b2abf
mtd: cfi_cmdset_0002: make sector erase command variable

Some old SST chips use 0x50 as sector erase command, instead
of 0x30. Make this value variable to handle such chips.

Signed-off-by: Guillaume LECERF <glecerf@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/cfi_cmdset_0002.c
drivers/mtd/chips/cfi_probe.c
include/linux/mtd/cfi.h