From patchwork Mon May 17 09:39:42 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: mtd: gen_probe: use AMD standard command-set with Winbond flash chips Date: Sun, 16 May 2010 23:39:42 -0000 From: Guillaume LECERF X-Patchwork-Id: 52770 Message-Id: <20100517093942.12147.98889.stgit@dev.siriade.com> To: linux-mtd@lists.infradead.org Cc: David Woodhouse Tested with W19L320SBT9C [1]. [1] http://www.datasheetarchive.com/pdf-datasheets/Datasheets-40/DSA-795343.pdf Signed-off-by: Obinou Signed-off-by: Guillaume LECERF Acked-by: Florian Fainelli --- drivers/mtd/chips/gen_probe.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/chips/gen_probe.c b/drivers/mtd/chips/gen_probe.c index 75a8f9d..3b9a284 100644 --- a/drivers/mtd/chips/gen_probe.c +++ b/drivers/mtd/chips/gen_probe.c @@ -249,6 +249,7 @@ static struct mtd_info *check_cmd_set(struct map_info *map, int primary) #ifdef CONFIG_MTD_CFI_AMDSTD case P_ID_AMD_STD: case P_ID_SST_OLD: + case P_ID_WINBOND: return cfi_cmdset_0002(map, primary); #endif #ifdef CONFIG_MTD_CFI_STAA