]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbad4a44e25e5d383b01fbab469c96032dbd8109d
tree937da129712ee96f3099d762d100543743eed062
parentf5094a563526a6a04039bb223377b5a5ce2a36de
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