From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XOQiB-0006sP-09 for barebox@lists.infradead.org; Mon, 01 Sep 2014 12:27:55 +0000 Received: by mail-wi0-f171.google.com with SMTP id hi2so12453231wib.10 for ; Mon, 01 Sep 2014 05:27:32 -0700 (PDT) From: =?UTF-8?q?Rapha=C3=ABl=20Poggi?= Date: Mon, 1 Sep 2014 14:27:33 +0200 Message-Id: <1409574455-15746-2-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 1/3] mtd: nand: add has_pmecc member To: barebox@lists.infradead.org Cc: =?UTF-8?q?Rapha=C3=ABl=20Poggi?= QnkgYWRkaW5nIHRoaXMgc3RydWN0dXJlIG1lbWJlciwgd2UgY2FuIHJldHJpZXZlIHRoZSBwbWVj YyBjb25maWcsIHRocm91Z2ggdGhlIGRldmljZSB0cmVlLgoKU2lnbmVkLW9mZi1ieTogUmFwaGHD q2wgUG9nZ2kgPHBvZ2dpLnJhcGhAZ21haWwuY29tPgotLS0KIGFyY2gvYXJtL2JvYXJkcy9hdDkx c2FtOW4xMmVrL2luaXQuYyAgICB8ICAgIDEgKwogYXJjaC9hcm0vYm9hcmRzL2F0OTFzYW05eDVl ay9pbml0LmMgICAgIHwgICAgMSArCiBhcmNoL2FybS9ib2FyZHMvc2FtYTVkM194cGxhaW5lZC9p bml0LmMgfCAgICAxICsKIGFyY2gvYXJtL2JvYXJkcy9zYW1hNWQzeGVrL2lu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