From mboxrd@z Thu Jan 1 00:00:00 1970 From: Orjan Friberg Date: Thu, 1 Mar 2012 10:17:09 +0100 Subject: [U-Boot] Broken ecc.size when switching between sw and hw ecc (beagleboard) In-Reply-To: <4F4E9201.60502@freescale.com> References: <4F4E1622.1080807@flatfrog.com> <4F4E9201.60502@freescale.com> Message-ID: <4F4F3E95.1060102@flatfrog.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/29/2012 10:00 PM, Scott Wood wrote: > ECC mode is normally not something that you want to be runtime > switchable, as changing it usually changes the on-flash format. It also > requires driver cooperation -- the actual implementation (as opposed to > the command-line wrapper) is in drivers/mtd/nand/omap_gpmc.c. Are you saying that it shouldn't be switchable through a command line option (but rather based on information in the partition table or something similar), or are you saying that we shouldn't need different ECC modes for different parts of the flash (boot ROM vs. software implementations, whether block 0 has different ECC requirement etc)? -- Orjan Friberg FlatFrog Laboratories AB