summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips/gen_probe.c
diff options
context:
space:
mode:
authorGuillaume LECERF <glecerf@gmail.com>2010-05-20 16:54:10 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-05-20 17:57:00 +0200
commit8046112818b70329e930b1d4557ef0876c1ad2bb (patch)
treea3c4d5250158af0ea8931d77015f8fb4016235ec /drivers/mtd/chips/gen_probe.c
parentmtd: cfi_cmdset_0002: Fix MODULE_ALIAS and linkage for new 0701 commandset ID (diff)
downloadlinux-8046112818b70329e930b1d4557ef0876c1ad2bb.tar.xz
linux-8046112818b70329e930b1d4557ef0876c1ad2bb.zip
mtd: cfi_cmdset_0002: use AMD standard command-set with Winbond flash chips
Tested with W19L320SBT9C [1]. [1] http://www.datasheetarchive.com/pdf-datasheets/Datasheets-40/DSA-795343.pdf [dwmw2: Fix MODULE_ALIAS and linkage] Signed-off-by: Obinou <obconseil@gmail.com> Signed-off-by: Guillaume LECERF <glecerf@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/chips/gen_probe.c')
-rw-r--r--drivers/mtd/chips/gen_probe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/chips/gen_probe.c b/drivers/mtd/chips/gen_probe.c
index 75a8f9db8e4f..3b9a2843c5f8 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