[PATCH 1/2] mtd: nand: Base BCH ECC bytes on required strength

Brian Norris computersforpeace at gmail.com
Wed Nov 5 00:12:22 PST 2014


On Wed, Aug 27, 2014 at 12:45:36PM -0500, Aaron Sierra wrote:
> From: Jordan Friendshuh <jfriendshuh at xes-inc.com>
> 
> NAND devices with page sizes over 4 KiB require more than 4-bits of ECC
> coverage. This patch calculates the value of ecc_bytes based on a still
> assumed 512-byte step size (13-bits) and the ecc_strength.
> 
> Example:
> Micron M73A devices (8 KiB page) require 8-bit ECC per 512-byte
> 
> Signed-off-by: Jordan Friendshuh <jfriendshuh at xes-inc.com>
> Signed-off-by: Aaron Sierra <asierra at xes-inc.com>

Applied to l2-mtd.git.

Brian



More information about the linux-mtd mailing list