From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XOQiC-0006sS-2I for barebox@lists.infradead.org; Mon, 01 Sep 2014 12:27:56 +0000 Received: by mail-wi0-f180.google.com with SMTP id ex7so6004048wid.7 for ; Mon, 01 Sep 2014 05:27:34 -0700 (PDT) From: =?UTF-8?q?Rapha=C3=ABl=20Poggi?= Date: Mon, 1 Sep 2014 14:27:34 +0200 Message-Id: <1409574455-15746-3-git-send-email-poggi.raph@gmail.com> In-Reply-To: <1409574455-15746-1-git-send-email-poggi.raph@gmail.com> References: <1409574455-15746-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 v3 2/3] 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 Z2dpLnJhcGhAZ21haWwuY29tPgotLS0KIGFyY2gvYXJtL2JvYXJkcy9hdDkxc2FtOTI2MGVrL2lu aXQuYyAgICB8ICAgIDEgKwogYXJjaC9hcm0vYm9hc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