aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips/gen_probe.c
diff options
context:
space:
mode:
authorGuillaume LECERF <glecerf@gmail.com>2010-04-24 11:58:22 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-05-13 20:39:23 -0400
commit83dcd3bb1139060fedb15235f8614d2bac82e18d (patch)
treef9edc12a8ff38a7b00763254d9afb1459e840e9f /drivers/mtd/chips/gen_probe.c
parent412da2f6e083eba6e4bd91ff2e78abb4735357a7 (diff)
mtd: cfi_cmdset_0002: add CFI detection for SST 39VF{16, 32}xx chips
SST 39VF{16,32}xx chips use the 0x0701 command set, fully compatible with the AMD one. This patch adds support for detecting them in CFI mode. Signed-off-by: Guillaume LECERF <glecerf@gmail.com> Reviewed-by: Wolfram Sang <w.sang@pengutronix.de> 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 1d56887c839b..75a8f9db8e4f 100644
--- a/drivers/mtd/chips/gen_probe.c
+++ b/drivers/mtd/chips/gen_probe.c
@@ -248,6 +248,7 @@ static struct mtd_info *check_cmd_set(struct map_info *map, int primary)
248#endif 248#endif
249#ifdef CONFIG_MTD_CFI_AMDSTD 249#ifdef CONFIG_MTD_CFI_AMDSTD
250 case P_ID_AMD_STD: 250 case P_ID_AMD_STD:
251 case P_ID_SST_OLD:
251 return cfi_cmdset_0002(map, primary); 252 return cfi_cmdset_0002(map, primary);
252#endif 253#endif
253#ifdef CONFIG_MTD_CFI_STAA 254#ifdef CONFIG_MTD_CFI_STAA