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 1STMVJ-00007O-M9 for barebox@lists.infradead.org; Sun, 13 May 2012 00:17:42 +0000 Date: Sun, 13 May 2012 02:17:31 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Message-ID: <20120513001731.GC22395@pengutronix.de> References: <20120512213845.GA22395@pengutronix.de> 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: [PATCH] ARM: put a valid "barebox" signature in the header on big-endian systems. To: Antony Pavlov Cc: barebox@lists.infradead.org, Krzysztof Halasa T24gU3VuLCBNYXkgMTMsIDIwMTIgYXQgMDM6NTY6NDhBTSArMDQwMCwgQW50b255IFBhdmxvdiB3 cm90ZToKPiBPbiAxMyBNYXkgMjAxMiAwMTozOCwgVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5l LWtvZW5pZ0BwZW5ndXRyb25peC5kZT4gd3JvdGU6Cj4gPiBIZWxsbyBLcnp5c3p0b2YsCj4gPgo+ ID4gT24gU2F0LCBNYXkgMDUsIDIwMTIgYXQgMTE6NDc6MTlQTSArMDIwMCwgS3J6eXN6dG9mIEhh bGFzYSB3cm90ZToKPiA+PiBTaWduZWQtb2ZmLWJ5OiBLcnp5c3p0b2YgSGHFgmFzYSA8a2hjQHBt Lndhdy5wbD4KPiA+Pgo+ID4+IGRpZmYgLS1naXQgYS9hcmNoL2FybS9pbmNsdWRlL2FzbS9iYXJl Ym94LWFybS1oZWFkLmggYi9hcmNoL2FybS9pbmNsdWRlL2FzbS9iYXJlYm94LWFybS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GZpbGV0eXBlX2FybV96aW1h Z2U7CgpCZXN0IHJlZ2FyZHMKVXdlCgotLSAKUGVuZ3V0cm9uaXggZS5LLiAgICAgICAgICAgICAg ICAgICAgICAgICAgIHwgVXdlIEtsZWluZS1Lw7ZuaWcgICAgICAgICAgICB8CkluZHVzdHJpYWwg TGludXggU29sdXRpb25zICAgICAgICAgICAgICAgICB8IGh0dHA6Ly93d3cucGVuZ3V0cm9uaXgu ZGUvICB8CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpi YXJlYm94IG1haWxpbmcgbGlzdApiYXJlYm94QGxpc3RzLmluZnJhZGVhZC5vcmcKaHR0cDovL2xp c3RzLmluZnJhZGVhZC5vcmcvbWFpbG1hbi9saXN0aW5mby9iYXJlYm94Cg==