From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SR5Uf-0003jh-M8 for barebox@lists.infradead.org; Sun, 06 May 2012 17:43:38 +0000 Date: Sun, 6 May 2012 19:43:34 +0200 From: Sascha Hauer Message-ID: <20120506174334.GW4141@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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: RFC: Fix big endian MMIO primitives. To: Krzysztof Halasa Cc: barebox@lists.infradead.org T24gU2F0LCBNYXkgMDUsIDIwMTIgYXQgMTE6MzQ6MTNQTSArMDIwMCwgS3J6eXN6dG9mIEhhbGFz YSB3cm90ZToKPiBjcHVfcmVhZCooKSBhbmQgY3B1X3dyaXJlKigpIGFyZSBwcmVjaXNlbHkgZXF1 YWwgdG8gX19yYXdfcmVhZCooKSBhbmQKPiBfX3Jhd193cml0ZSooKS4KPiAKPiBTdHJpdmluZyBm b3IgY29ycmVjdG5lc3Mgd2UgY2FuIHJlcGxhY2UgYWxsIHRob3NlIF9fcmF3XyooKSB3aXRoIGNw dV8qKCkKPiBhcyB0aGF0J3MgZXhhY3RseSB3aGF0IHRoZSBmb3JtZXIgb25lcyBkby4gQWxzbyB3 ZSBjYW4gY2hhbmdlIHJlYWQqKCkKPiBhbmQgd3JpdGUqKCkgaW50byBleHBsaWNpdCBsZVhYXyoo KS4gQm90aCBjaGFuZ2VzIGNvdWxkIGFmZmVjdCBwb3J0aW5nCj4gZnJvbSBMaW51eCwgdGhvdWdo LgoKTWF5YmUgd2Ugc2hvdWxkIHJhdGhlciB1c2UgdGhlIF9fcmF3Xyog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RlZmluZSBjcHVfd3JpdGVsKHYsIGEpCV9fcmF3 X3dyaXRlbCgodiksIChhKSkKPiAgCj4gICNlbmRpZiAvKiBfX0lPX0ggKi8KPiAKPiBfX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IGJhcmVib3ggbWFpbGlu ZyBsaXN0Cj4gYmFyZWJveEBsaXN0cy5pbmZyYWRlYWQub3JnCj4gaHR0cDovL2xpc3RzLmluZnJh ZGVhZC5vcmcvbWFpbG1hbi9saXN0aW5mby9iYXJlYm94CgotLSAKUGVuZ3V0cm9uaXggZS5LLiAg ICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwK SW5kdXN0cmlhbCBMaW51eCBTb2x1dGlvbnMgICAgICAgICAgICAgICAgIHwgaHR0cDovL3d3dy5w ZW5ndXRyb25peC5kZS8gIHwKUGVpbmVyIFN0ci4gNi04LCAzMTEzNyBIaWxkZXNoZWltLCBHZXJt YW55IHwgUGhvbmU6ICs0OS01MTIxLTIwNjkxNy0wICAgIHwKQW10c2dlcmljaHQgSGlsZGVzaGVp bSwgSFJBIDI2ODYgICAgICAgICAgIHwgRmF4OiAgICs0OS01MTIxLTIwNjkxNy01NTU1IHwKCl9f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCmJhcmVib3ggbWFp bGluZyBsaXN0CmJhcmVib3hAbGlzdHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5mcmFk ZWFkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2JhcmVib3gK