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 1SSv5J-0003hH-Ko for barebox@lists.infradead.org; Fri, 11 May 2012 19:01:03 +0000 Date: Fri, 11 May 2012 21:00:59 +0200 From: Sascha Hauer Message-ID: <20120511190059.GP27341@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: Shutdown barebox (MMU) before setting ATAGS to avoid page #0 fault. To: Krzysztof Halasa Cc: barebox@lists.infradead.org SGkgS3J6eXN6dG9mLAoKT24gU2F0LCBNYXkgMDUsIDIwMTIgYXQgMTE6Mzg6MTVQTSArMDIwMCwg S3J6eXN6dG9mIEhhbGFzYSB3cm90ZToKPiBUaGlzIGRvZXNuJ3QgZml4IHRoZSAibWQiIGlzc3Vl Lgo+IAo+IFNpZ25lZC1vZmYtYnk6IEtyenlzenRvZiBIYcWCYXNhIDxraGNAcG0ud2F3LnBsPgo+ IAo+IGRpZmYgLS1naXQgYS9hcmNoL2FybS9saWIvYXJtbGludXguYyBiL2FyY2gvYXJtL2xpYi9h cm1saW51eC5jCj4gaW5kZXggYTE2NzAzNi4uODQ3ZmVmYSAxMDA2NDQKPiAtLS0gYS9hcmNoL2Fy bS9saWIvYXJtbGludXguYwo+ICsrKyBiL2FyY2gvYXJtL2xpYi9hcm1saW51eC5jCj4gQEAgLTI2 MCwxMiArMjYwLDE1IEBAIHZvaWQgc3RhcnRfbGludXgodm9pZCAqYWRyLCBpbnQgc3dhcCwgdW5z aWduZWQgbG9uZyBpbml0cmRfYWRkcmVzcywKPiA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