From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.visioncatalog.com ([217.6.246.34] helo=root.phytec.de) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1R76Nk-0001Fl-0K for barebox@lists.infradead.org; Fri, 23 Sep 2011 14:05:37 +0000 From: Teresa Gamez In-Reply-To: <20110923092606.GK31404@pengutronix.de> References: <1316769860-24549-1-git-send-email-s.hauer@pengutronix.de> <1316769860-24549-9-git-send-email-s.hauer@pengutronix.de> <20110923092606.GK31404@pengutronix.de> Date: Fri, 23 Sep 2011 16:05:29 +0200 Message-ID: <1316786729.3656.96.camel@lws-gamez> 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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 08/12] cfi flash: fix flash_make_cmd for big endian access To: Sascha Hauer Cc: barebox@lists.infradead.org SGVsbG8gU2FzY2hhLAoKQW0gRnJlaXRhZywgZGVuIDIzLjA5LjIwMTEsIDExOjI2ICswMjAwIHNj aHJpZWIgU2FzY2hhIEhhdWVyOgo+IEhpIFRlcmVzYSwKPiAKPiBPbiBGcmksIFNlcCAyMywgMjAx MSBhdCAxMToyNDoxNkFNICswMjAwLCBTYXNjaGEgSGF1ZXIgd3JvdGU6Cj4gPiBUaGlzIGlzIGJy b2tlbiBvbiBiaWcgZW5kaWFuIHN5c3RlbXMgc2luY2U6Cj4gPiAKPiA+IDk0M2IyNzEgY2ZpX2Zs YXNoOiBzdXBwb3J0IG9mIHUzMiBjbWQKPiA+IAo+ID4gSSBsb29rZWQgb3ZlciBpdCBhbmQgSSAq dGhpbmsqIHRoYXQgdGhlIGZ1bmN0aW9uIHdhcyBjb3JyZWN0Cj4gPiBmb3IgYm90aCBiaWcgYW5k IGxpdHRsZSBlbmRpYW4gc3lz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