From: Wolfgang Denk Date: Mon, 14 Apr 2008 21:50:50 +0200 Subject: [U-Boot-Users] [PATCH 1/2] Don't panic if a controller driver does ecc its own way. In-Reply-To: Your message of "Mon, 14 Apr 2008 11:34:55 CDT." <20080414163455.GA7061@ld0162-tx32.am.freescale.net> Message-ID: <20080414195050.0DC4B248B9@gemini.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 In message <20080414163455.GA7061@ld0162-tx32.am.freescale.net> you wrote: > > > > Some hardware, such as the enhanced local bus controller used on some > > > mpc83xx chips, does ecc transparently when reading and writing data, rather > > > than providing a generic calculate/correct mechanism that can be exported to > > > the nand subsystem. > > > > > > The subsystem should not BUG() when calculate, correct, or hwctl are > > > missing, if the methods that call them have been overridden. > > > > > > Signed-off-by: Scott Wood > > > > This should go through the 83xx custodian, but I haven't seen this > > yet? > > Why should it go through 83xx? It's a patch against generic NAND code. It seems to be 83xx specific code to me? > > Anyway, it does not apply any more: > > > > Applying Don't panic if a controller driver does ecc its own way. > > error: patch failed: drivers/mtd/nand/nand_base.c:2593 > > error: drivers/mtd/nand/nand_base.c: patch does not apply > > fatal: sha1 information is lacking or useless > > (drivers/mtd/nand/nand_base.c). > > Repository lacks necessary blobs to fall back on 3-way merge. > > Cannot fall back to three-way merge. > > Did you try applying it against the 2.6.22.1 branch of the nand > repository (IIRC, the non-commit-message patch comment specified that)? No, I tried to apply this to the U-Boot repository. Maybe this was my fault? Is this supposed to go into Linux, then? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Murder is contrary to the laws of man and God. -- M-5 Computer, "The Ultimate Computer", stardate 4731.3