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 1SR61s-00046m-Gu for barebox@lists.infradead.org; Sun, 06 May 2012 18:17:57 +0000 Date: Sun, 6 May 2012 20:17:54 +0200 From: Sascha Hauer Message-ID: <20120506181754.GA4141@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: [PATCH] ARM: put a valid "barebox" signature in the header on big-endian systems. To: Krzysztof Halasa Cc: barebox@lists.infradead.org T24gU2F0LCBNYXkgMDUsIDIwMTIgYXQgMTE6NDc6MTlQTSArMDIwMCwgS3J6eXN6dG9mIEhhbGFz YSB3cm90ZToKPiBTaWduZWQtb2ZmLWJ5OiBLcnp5c3p0b2YgSGHFgmFzYSA8a2hjQHBtLndhdy5w bD4KPiAKPiBkaWZmIC0tZ2l0IGEvYXJjaC9hcm0vaW5jbHVkZS9hc20vYmFyZWJveC1hcm0taGVh ZC5oIGIvYXJjaC9hcm0vaW5jbHVkZS9hc20vYmFyZWJveC1hcm0taGVhZC5oCj4gaW5kZXggMGRj MzA3NC4uMmMyNTBlOSAxMDA2NDQKPiAtLS0gYS9hcmNoL2FybS9pbmNsdWRlL2FzbS9iYXJlYm94 LWFybS1oZWFkLmgKPiArKysgYi9hcmNoL2FybS9pbmNsdWRlL2FzbS9iYXJlYm94LWFybS1oZWFk LmgKPiBAQCAtMjQsOCArMjQsNyBAQCBzdGF0aWMgaW5saW5lIHZvaWQgYmFyZWJveF9hcm1faGVh ZCh2b2lkKQo+ICAJCSIxOiBiIDFiXG4iCj4gIAkJIjE6IGI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TIxLTIwNjkxNy0wICAgIHwKQW10c2dlcmljaHQgSGlsZGVzaGVpbSwgSFJBIDI2ODYgICAg ICAgICAgIHwgRmF4OiAgICs0OS01MTIxLTIwNjkxNy01NTU1IHwKCl9fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCmJhcmVib3ggbWFpbGluZyBsaXN0CmJhcmVi b3hAbGlzdHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5mcmFkZWFkLm9yZy9tYWlsbWFu L2xpc3RpbmZvL2JhcmVib3gK