From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 1.mo4.mail-out.ovh.net ([178.33.248.196] helo=mo4.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tchxx-0002FK-L9 for barebox@lists.infradead.org; Sun, 25 Nov 2012 19:34:12 +0000 Received: from mail177.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo4.mail-out.ovh.net (Postfix) with SMTP id D14BA104FFBE for ; Sun, 25 Nov 2012 20:42:00 +0100 (CET) Date: Sun, 25 Nov 2012 20:32:08 +0100 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20121125193208.GZ8327@game.jcrosoft.org> References: <20121123155224.GV8327@game.jcrosoft.org> <1353686104-31295-1-git-send-email-plagnioj@jcrosoft.com> <1353686104-31295-4-git-send-email-plagnioj@jcrosoft.com> <20121124034241.GA19824@greatfirst.com> <20121124084544.GY8327@game.jcrosoft.org> <20121125081149.GB19824@greatfirst.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20121125081149.GB19824@greatfirst.com> 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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 4/4] Revert "mtd: atmel_nand: optimize read/write buffer functions" To: barebox T24gMTY6MTEgU3VuIDI1IE5vdiAgICAgLCDlvKDlv6DlsbEgd3JvdGU6Cj4gPiA+Cj4gPiA+IFRo aXMgcGF0Y2ggcmVzb2x2ZXMgbXkgcHJvYmxlbQo+ID4gSSdtIGV4cGVjdGluZyB0byBzZWUgeW91 ciBwYXRjaGVzCj4gPgo+IAo+IE15IGZpcnN0IHBhdGNoIHZlcnkgc2ltcGxlOgp5b3VyIGJvYXJk IHBhdGNoCgpJJ2xsIGJlIGF0IHRoZSBlbGVjdHJvbmljIG1hcmtldCB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