From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XFhDz-0000Je-74 for ptxdist@pengutronix.de; Fri, 08 Aug 2014 12:16:39 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1XFhDz-0002ED-5R for ptxdist@pengutronix.de; Fri, 08 Aug 2014 12:16:39 +0200 Date: Fri, 8 Aug 2014 12:16:39 +0200 From: Michael Olbrich Message-ID: <20140808101639.GA11487@pengutronix.de> References: <1407140962-2116-1-git-send-email-bth@kamstrup.dk> <53E0CE18.9060103@tqsc.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <53E0CE18.9060103@tqsc.de> Subject: Re: [ptxdist] [RFC] u-boot-tools: emmc support in fw_printenv/fw_setenv Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de T24gVHVlLCBBdWcgMDUsIDIwMTQgYXQgMDI6Mjk6MTJQTSArMDIwMCwgTWFya3VzIE5pZWJlbCB3 cm90ZToKPiBIZWxsbyBCcnVubywKPiAKPiBBbSAwNC4wOC4yMDE0IDEwOjI5LCB3cm90ZSBCcnVu byBUaG9tc2VuOgo+ID4gUHJvdmlkZSByZWFkL3dyaXRlIGFjY2VzcyB0byBVLUJvb3QgZW52aXJv bm1lbnQgc3RvcmVkIGluIGVNTUMgZmxhc2ggZnJvbSBMaW51eC4KPiA+IAo+ID4gQWNjZXNzIHRv IFUtQm9vdCBlbnZpcm9ubWVudCBjYW4gYmUgdmVyeSB1c2VmdWw7IGR1YWwga2VybmVsL3Jvb3Rm cyBpbWFnZ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