[PATCH 3/4] mtd: cfi_cmdset_0002: use 0x50 erase command for SST 39VFxxxxB chips
Guillaume LECERF
glecerf at gmail.com
Fri Oct 22 11:40:25 EDT 2010
Signed-off-by: Guillaume LECERF <glecerf at gmail.com>
---
drivers/mtd/chips/cfi_cmdset_0002.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
index 209928b..a359967 100644
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -292,6 +292,8 @@ static void fixup_sst39vf_rev_b(struct mtd_info *mtd, void *param)
cfi->addr_unlock1 = 0x555;
cfi->addr_unlock2 = 0x2AA;
+
+ sector_erase_cmd = CMD(0x50);
}
static void fixup_s29gl064n_sectors(struct mtd_info *mtd, void *param)
More information about the linux-mtd
mailing list