Angelo Dureghello 07b2c5c0e5 mtd/cfi: add support for SST 4KB sector granularity
Add support for SST 4KB sector granularity.

Many recent SST flashes, i.e. SST39VF3201B and similar of this family
are declared CFI-conformant from SST. They support CFI query, but implement
2 different sector sizes in the same memory: a 64KB sector (they call it
"block", std AMD erase cmd=0x30), and a 4KB sector (they call it "sector",
erase cmd=0x50). Also, CFI query on these chips, reading from address 0x2dh
of cfi query struct, detects a number of secotrs for the 4KB granularity
(flinfo shows it).

For all other aspects, they are CFI compliant, so, as Linux do, i think
it's a good idea to handle these chips in the CFI driver, with a fixup
to allow 4KB granularity, as should be expected, instead of 64KB.

Signed-off-by: Angelo Dureghello <sysamfw@gmail.com>
Signed-off-by: Stefan Rose <sr@denx.de>
2013-01-10 14:39:13 +01:00
..
2012-11-04 11:00:36 -07:00
2012-08-09 23:42:20 +02:00
2011-08-01 15:19:40 +02:00
2012-05-15 08:31:37 +02:00
2012-11-02 15:20:41 -07:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2012-12-06 13:56:39 -07:00
2012-03-27 22:05:28 +02:00
2012-09-01 16:21:50 +02:00
2011-10-22 01:22:21 +02:00
2012-12-11 13:17:34 -07:00
2011-08-04 23:34:02 +02:00
2012-10-22 14:31:25 -05:00
2011-08-01 15:19:40 +02:00
2012-11-04 11:00:34 -07:00
2012-10-16 12:35:10 +02:00
2012-10-22 14:31:25 -05:00
2012-05-15 08:31:34 +02:00
2012-11-27 09:41:10 -07:00
2012-12-11 13:17:34 -07:00
2012-11-15 21:08:20 +09:00
2012-05-25 09:15:10 +02:00
2012-10-26 16:28:07 +02:00
2012-10-23 15:23:26 -05:00
2012-11-26 15:41:29 -06:00
2012-11-04 11:00:36 -07:00
2012-09-26 12:36:32 -05:00
2012-03-12 11:06:48 -04:00
2011-10-05 22:03:11 +02:00
2012-11-27 17:26:48 -06:00
2012-12-13 11:46:56 -07:00
2011-08-04 23:34:02 +02:00
2011-08-04 23:34:02 +02:00
2012-11-15 21:08:20 +09:00
2011-08-01 15:19:40 +02:00
2012-10-01 10:02:14 -07:00
2012-11-10 19:45:58 +08:00
2012-05-15 08:31:40 +02:00
2011-12-07 08:45:51 +01:00
2012-05-15 08:31:37 +02:00
2012-12-20 17:04:21 +01:00
2011-09-30 22:00:55 +02:00
2011-08-01 15:19:40 +02:00
2012-10-15 11:53:59 -07:00
2011-08-01 15:19:40 +02:00