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 bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1NYLDi-0004E1-GN for barebox@lists.infradead.org; Fri, 22 Jan 2010 15:14:47 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Fri, 22 Jan 2010 16:14:35 +0100 Message-Id: <1264173275-1858-2-git-send-email-u.kleine-koenig@pengutronix.de> In-Reply-To: <20100122150628.GA12856@pengutronix.de> References: <20100122150628.GA12856@pengutronix.de> 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: [PATCH 2/2] arm: make disabling the cache actually work To: barebox@lists.infradead.org VGhlIGNvZGUgYmVmb3JlIGxvb2tzIHRvIG1lIGxpa2Ugd29yayBpbiBwcm9ncmVzcy4gIEl0IG9u bHkgZHJhaW5lZCB0aGUKd3JpdGUgYnVmZmVyIGFuZCBza2lwcGVkIGRpc2FibGluZyBtbXUgYW5k IGNhY2hlcyBieSBhbiBlYXJseSByZXR1cm4KZnJvbSBpbmxpbmUgYXNzZW1ibGVyICh3aGljaCBp cyBicm9rZW4gaW4gaXRzZWxmIGFzIGl0IGRvZXNuJ3QgcmVzdG9yZQpmcmFtZSBwb2ludGVyLCBz dGFjayBwb2ludGVyIGFuZCBvdGhlciBzYXZlZCByZWdpc3RlcnMpLgoKU2lnbmVkLW9mZi1ieTog VXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4KLS0tCiBh cmNoL2FybS9jcHUvbW11LmMgfCAgIDI5ICsrKysrKysrKysrKysrKysrKysrKysrKysrKystCiAx IGZpbGVz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