From: Tom Rini Date: Fri, 6 Jun 2014 17:55:56 -0400 Subject: [U-Boot] [U-Boot, v4, 2/3] mtd: nand: omap: add support for BCH16_ECC - NAND driver updates In-Reply-To: <1401709483-27778-3-git-send-email-pekon@ti.com> References: <1401709483-27778-3-git-send-email-pekon@ti.com> Message-ID: <20140606215556.GL7841@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jun 02, 2014 at 05:14:42PM +0530, pekon gupta wrote: > This patch add support for BCH16_ECC to omap_gpmc driver. > > *need to BCH16 ECC scheme* > With newer SLC Flash technologies and MLC NAND, and large densities, pagesizes > Flash devices have become more suspectible to bit-flips. Thus stronger > ECC schemes are required for protecting the data. > But stronger ECC schemes have come with larger-sized ECC syndromes which require > more space in OOB/Spare. This puts constrains like; > (a) BCH16_ECC can correct 16 bit-flips per 512Bytes of data. > (b) BCH16_ECC generates 26-bytes of ECC syndrome / 512B. > Due to (b) this scheme can only be used with NAND devices which have enough > OOB to satisfy following equation: > OOBsize per page >= 26 * (page-size / 512) > > Signed-off-by: Pekon Gupta Applied to u-boot-ti/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: