From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bP1nL-0003uG-Tc for barebox@lists.infradead.org; Mon, 18 Jul 2016 06:12:48 +0000 Date: Mon, 18 Jul 2016 08:12:24 +0200 From: Sascha Hauer Message-ID: <20160718061224.GK20657@pengutronix.de> References: <1468770798-22102-1-git-send-email-akurz@blala.de> <1468770798-22102-5-git-send-email-akurz@blala.de> <1468772354.967026288@f191.i.mail.ru> 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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 5/5] scripts: imx-usb-loader: split off topic-code into functions To: Alexander Kurz Cc: barebox@lists.infradead.org T24gU3VuLCBKdWwgMTcsIDIwMTYgYXQgMTA6MzE6NDdQTSArMDIwMCwgQWxleGFuZGVyIEt1cnog d3JvdGU6Cj4gCj4gCj4gT24gU3VuLCAxNyBKdWwgMjAxNiwgQWxleGFuZGVyIFNoaXlhbiB3cm90 ZToKPiAKPiA+ID7QktC+0YHQutGA0LXRgdC10L3RjNC1LCAxNyDQuNGO0LvRjyAyMDE2LCAxODo1 MyArMDM6MDAg0L7RgiBBbGV4YW5kZXIgS3VyeiA8YWt1cnpAYmxhbGEuZGU+Ogo+ID4gPgo+ID4g PkltcHJvdmUgY29kZSB1bmRlcnN0YW5kYWJpbGl0eTogZXh0cmFjdCB0aGUgImp1bXAgYXBwbGlj YXRpb24iIFNlcmlhbAo+ID4gPkRvd25sb2FkIFByb3RvY29sIGFjY2VzcyBtZXRob2QgYW5kIGZp bGUtdG8tYnVmZmVyIHJlYWRlciBmdW5jdGlvbmFsaXR5Cj4gPiA+b3V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