From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X7kXx-0001dK-4F for barebox@lists.infradead.org; Thu, 17 Jul 2014 12:12:29 +0000 Received: by mail-we0-f182.google.com with SMTP id k48so1481217wev.27 for ; Thu, 17 Jul 2014 05:11:54 -0700 (PDT) From: Raphael Poggi Date: Thu, 17 Jul 2014 14:12:20 +0200 Message-Id: <1405599141-5992-3-git-send-email-poggi.raph@gmail.com> In-Reply-To: <1405599141-5992-1-git-send-email-poggi.raph@gmail.com> References: <1405599141-5992-1-git-send-email-poggi.raph@gmail.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/3 v2] mtd: atmel_nand: fix bit error correction To: barebox@lists.infradead.org Cc: Raphael Poggi V2hlbiBwbWVjYyB1c2VzIGEgMTAyNCBzZWN0b3Igc2l6ZSB0byBjb3JyZWN0IGJpdCBlcnJvciwg dGhlIGdmIGRpbWVuc2lvbgptdXN0IGJlIDE0LgoKU28gdGhpcyBjb21taXQgY2hvb3NlcyB0aGUg cmlnaHQgZGVncmVlIGZvciBkaWZmZXJlbnQgc2VjdG9yIHNpemUgKDUxMiBvciAxMDI0KS4KClNp Z25lZC1vZmYtYnk6IFJhcGhhw6tsIFBvZ2dpIDxwb2dnaS5yYXBoQGdtYWlsLmNvbT4KLS0tCiBk cml2ZXJzL210ZC9uYW5kL2F0bWVsX25hbmQuYyB8ICAgIDMgKystCiAxIGZpbGUgY2hhbmdlZCwg MiBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvZHJpdmVycy9tdGQv bmFuZC9hdG1lbF9uY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