From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Sat, 7 Feb 2015 23:46:47 +0100 Subject: [U-Boot] =?utf-8?q?mtd=3A_atmel=5Fnand=3A_according_to_pmecc_vers?= =?utf-8?q?ion_to_perform_0xff_page_correction?= In-Reply-To: <1421380486-22138-1-git-send-email-josh.wu@atmel.com> from Josh Wu on Fri, 16 Jan 2015 11:54:46 +0800 References: <1421380486-22138-1-git-send-email-josh.wu@atmel.com> Message-ID: <1423349208-3909-1-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Josh Wu, Josh Wu writes: >As the PMECC hardware has different version. In SAMA5D4 chip, the PMECC ip >can generate 0xff pmecc ECC value for all 0xff sector. > >According to this, add PMECC version check, if it's SAMA5D4 then we always >let PMECC hardware to correct it. > >Signed-off-by: Josh Wu >Acked-by: Bo Shen >Acked-by: Andreas Bie?mann >--- > > drivers/mtd/nand/atmel_nand.c | 9 +++++++++ > drivers/mtd/nand/atmel_nand_ecc.h | 20 ++++++++++++++++++++ > 2 files changed, 29 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann