From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X6yqg-0003i9-Rl for barebox@lists.infradead.org; Tue, 15 Jul 2014 09:16:35 +0000 Received: by mail-wg0-f48.google.com with SMTP id x13so5309853wgg.19 for ; Tue, 15 Jul 2014 02:16:12 -0700 (PDT) From: Raphael Poggi Date: Tue, 15 Jul 2014 11:16:40 +0200 Message-Id: <1405415800-7846-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] mtd: atmel_nand: add SOFT_BCH support To: barebox@lists.infradead.org Cc: Raphael Poggi VG8gdXNlIHNvZnQgZWNjIHdpdGggbmFuZCB3aXRoIDhrIHBhZ2UsIHdlIG5lZWQgdGhlIEJDSCBz dXBwb3J0LgpUaGlzIGNvbW1pdCBhZGRzIHRoZSBwb3NzaWJpbHR5IGZvciBhdG1lbF9uYW5kIHRv IGVuYWJsZSBTT0ZUX0JDSC4KClNpZ25lZC1vZmYtYnk6IFJhcGhhw6tsIFBvZ2dpIDxwb2dnaS5y YXBoQGdtYWlsLmNvbT4KLS0tCiBkcml2ZXJzL210ZC9uYW5kL2F0bWVsX25hbmQuYyB8ICAgIDUg KysrKysKIDEgZmlsZSBjaGFuZ2VkLCA1IGluc2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9kcml2 ZXJzL210ZC9uYW5kL2F0bWVsX25hbmQuYyBiL2RyaXZlcnMvbXRkL25hbmQvYXRtZWxfbmFuZC5j CmluZGV4IGU5YjJhZjcuLmQ1NDJhODMgMTAwNjQ0Ci0tLSBhL2RyaXZlcnMvbXRkL25hbmQvYXRt ZWxf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