From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 10 Jan 2013 15:31:56 +0100 Subject: [U-Boot] [PATCH 1/1] mtd/cfi: add support for SST 4KB sector granularity In-Reply-To: <20121201001417.GA643@angel3> References: <20121201001417.GA643@angel3> Message-ID: <50EED0DC.6000108@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/01/2012 01:14 AM, Angelo Dureghello wrote: > 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. Applied to u-boot-cfi-flash/master. Thanks. Thanks, Stefan