From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WvQun-00031W-1K for barebox@lists.infradead.org; Fri, 13 Jun 2014 12:49:05 +0000 Received: by mail-wi0-f176.google.com with SMTP id n3so817091wiv.9 for ; Fri, 13 Jun 2014 05:48:41 -0700 (PDT) Message-ID: <539AF326.7010504@gmail.com> Date: Fri, 13 Jun 2014 14:48:38 +0200 From: Matteo Fortini MIME-Version: 1.0 References: <539A5353.7090306@atmel.com> In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: atmel_nand pmecc on 8k page [RFC] To: =?UTF-8?B?UmFwaGHDq2wgUG9nZ2k=?= , Bo Shen Cc: barebox@lists.infradead.org SGkgYWxsLApnbGFkIHlvdSBmb3VuZCBteSBwYXRjaCB1c2VmdWwuIFNhc2NoYSByZWplY3RlZCBp dCBiZWNhdXNlIGhlIHNlZXMgaXQgCm1vcmUgZml0IHRvIHNlcGFyYXRlIHRoZSBpbml0aWFsaXph dGlvbiBvZiBzYW1hNWQzIGFuZCBzYW05IHNpbmNlIHRoZXkgCmFyZSBxdWl0ZSBkaWZmZXJlbnQu CgpJIHN0YXJ0ZWQsIGFzIGFkdmlzZWQgYnkgU2FzY2hhLCB0byBjcmVhdGUgaW50byBzYW05X3Nt Yy5jIHRoZSBmdW5jdGlvbgoKdm9pZCBzYW1hNWQzX3NtY19jb25maWd1cmUoaW50IGlkLCBpbnQg Y3MsIHN0cnVjdCBzYW1hNWQzX3NtY19jb25maWcgCipjb25maWcpCgpidXQgdGhpcyBicmluZ3Mg b24gc29tZSBvdGhlciBjaGFuZ2VzIHRvIGtlZXAgdGhlIHN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