From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.microcatalog.org.uk ([217.6.246.34] helo=root.phytec.de) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UKlRI-0000jM-Nb for barebox@lists.infradead.org; Wed, 27 Mar 2013 08:10:34 +0000 Message-ID: <5152A974.4020905@phytec.de> Date: Wed, 27 Mar 2013 09:10:28 +0100 From: Teresa Gamez MIME-Version: 1.0 References: <1364307796-2407-1-git-send-email-t.gamez@phytec.de> <1364307796-2407-2-git-send-email-t.gamez@phytec.de> <20130326201713.GA3564@x61s.Speedport_W_921V_1_21_000> In-Reply-To: <20130326201713.GA3564@x61s.Speedport_W_921V_1_21_000> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [RFC PATCH 2/2] OMAP: Add option to use enviroment from MMC To: barebox@lists.infradead.org QW0gMjYuMDMuMjAxMyAyMToxNywgc2NocmllYiBBbGV4YW5kZXIgQXJpbmc6Cgo+IEhpLAo+Cj4g T24gVHVlLCBNYXIgMjYsIDIwMTMgYXQgMDM6MjM6MTZQTSArMDEwMCwgVGVyZXNhIEfDoW1leiB3 cm90ZToKPj4gTWFrZSBsb2FkaW5nIGVudmlyb21lbnQgZnJvbSBNTUMgZ2VuZXJpYyBmb3IgYWxs IE9NQVAuCj4+Cj4+IFRlc3RlZCBvbiBBTTMzNXgsIE9NQVA0Lgo+Pgo+PiBTaWduZWQtb2ZmLWJ5 OiBUZXJlc2EgR8OhbWV6IDx0LmdhbWV6QHBoeXRlYy5kZT4KPj4gVGVzdGVkLWJ5OiBKYW4gV2Vp dHplbCA8ai53ZWl0emVsQHBoeXRlYy5kZT4KPj4gLS0tCj4+ICAgYXJjaC9hcm0vYm9hcmRzL3Bh bmRhL2JvYXJkLmMg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