From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XDCnO-0004X1-SW for barebox@lists.infradead.org; Fri, 01 Aug 2014 13:22:59 +0000 Received: by mail-wg0-f50.google.com with SMTP id n12so4293291wgh.33 for ; Fri, 01 Aug 2014 06:22:32 -0700 (PDT) From: =?UTF-8?q?Rapha=C3=ABl=20Poggi?= Date: Fri, 1 Aug 2014 15:23:23 +0200 Message-Id: <1406899404-29094-5-git-send-email-poggi.raph@gmail.com> In-Reply-To: <1406899404-29094-1-git-send-email-poggi.raph@gmail.com> References: <1406899404-29094-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 4/5] mtd: atmel_nand: retrieve ecc_mode from pdata To: barebox@lists.infradead.org Cc: =?UTF-8?q?Rapha=C3=ABl=20Poggi?= QnkgcmV0cmlldmluZyB0aGUgZWNjX21vZGUgZnJvbSBwZGF0YSB3ZSBjYW4gdXNlIHRoZSBzYW1l IGNvZGUgZm9yIGRldmljZSB0cmVlIGFuZApub24gZGV2aWNlIHRyZWUgcHJvYmluZy4gV2hpY2gg d2FzIG5vdCBwb3NzaWJsZSBiZWZvcmUsIGJlY2F1c2UgZWNjX21vZGUgd2FzIGFyYml0cmFyaWx5 IHNldCB0bwpOQU5EX0VDQ19TT0ZULgoKU2lnbmVkLW9mZi1ieTogUmFwaGHDq2wgUG9nZ2kgPHBv Z2dpLnJhcGhAZ21haWwuY29tPgotLS0KIGRyaXZlcnMvbXRkL25hbmQvYXRtZWxfbmFuZC5jIHwg ICAgNCArKy0tCiAxIGZpbGUgY2hhbmdlZCwgMiBpbnN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