From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp3-g21.free.fr ([2a01:e0c:1:1599::12]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SV2uf-0005se-N6 for barebox@lists.infradead.org; Thu, 17 May 2012 15:46:50 +0000 Received: from localhost.localdomain (unknown [82.233.81.124]) by smtp3-g21.free.fr (Postfix) with ESMTP id DEF7CA627D for ; Thu, 17 May 2012 17:46:43 +0200 (CEST) From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Thu, 17 May 2012 17:46:10 +0200 Message-Id: <1337269578-20570-8-git-send-email-eric@eukrea.com> In-Reply-To: <1337269578-20570-1-git-send-email-eric@eukrea.com> References: <1337269578-20570-1-git-send-email-eric@eukrea.com> 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 08/16] eukrea_cpuimx25: use switch action to launch usbserial or dfu To: barebox@lists.infradead.org U2lnbmVkLW9mZi1ieTogRXJpYyBCw6luYXJkIDxlcmljQGV1a3JlYS5jb20+Ci0tLQogYXJjaC9h cm0vYm9hcmRzL2V1a3JlYV9jcHVpbXgyNS9lbnYvYmluL2luaXRfYm9hcmQgfCAgIDIxICsrKysr KysrKysrKysrKysrKysrCiBhcmNoL2FybS9ib2FyZHMvZXVrcmVhX2NwdWlteDI1L2V1a3JlYV9j cHVpbXgyNS5jICB8ICAgIDcgKysrKysrCiBhcmNoL2FybS9jb25maWdzL2V1a3JlYV9jcHVpbXgy NV9kZWZjb25maWcgICAgICAgICB8ICAgMTMgKysrKysrKy0tLS0KIDMgZmlsZXMgY2hhbmdlZCwg MzYgaW5zZXJ0aW9ucygrKSwgNSBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9hcmNoL2FybS9i b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gKzEzLDcgQEAgQ09ORklHX0dMT0I9eQogQ09ORklHX0hVU0hfRkFOQ1lfUFJP TVBUPXkKIENPTkZJR19DTURMSU5FX0VESVRJTkc9eQogQ09ORklHX0FVVE9fQ09NUExFVEU9eQor Q09ORklHX01FTlU9eQogIyBDT05GSUdfQ09OU09MRV9BQ1RJVkFURV9GSVJTVCBpcyBub3Qgc2V0 CiBDT05GSUdfQ09OU09MRV9BQ1RJVkFURV9BTEw9eQogQ09ORklHX0RFRkFVTFRfRU5WSVJPTk1F TlRfR0VORVJJQz15CkBAIC0yMywxMSArMjQsMTMgQEAgQ09ORklHX0NNRF9TQVZFRU5WPXkKIENP TkZJR19DTURfRVhQT1JUPXkKIENPTkZJR19DTURfUFJJTlRFTlY9eQogQ09ORklHX0NNRF9SRUFE TElORT15CitDT05GSUdfQ01EX01FTlU9eQorQ09ORklHX0NNRF9NRU5VX01BTkFHRU1FTlQ9eQor Q09ORklHX0NNRF9BVVRPTU9VTlQ9eQogQ09ORklHX0NNRF9FQ0hPX0U9eQogQ09ORklHX0NNRF9M T0FEQj15CiBDT05GSUdfQ01EX01FTUlORk89eQogQ09ORklHX0NNRF9JT01FTT15Ci1DT05GSUdf Q01EX01ENVNVTT15CiBDT05GSUdfQ01EX01URVNUPXkKIENPTkZJR19DTURfRkxBU0g9eQogQ09O RklHX0NNRF9CT09UTV9TSE9XX1RZUEU9eQpAQCAtNDcsMTAgKzUwLDggQEAgQ09ORklHX0NNRF9H UElPPXkKIENPTkZJR19DTURfVU5DT01QUkVTUz15CiBDT05GSUdfQ01EX0kyQz15CiBDT05GSUdf Q01EX0xFRD15Ci1DT05GSUdfQ01EX0xFRF9UUklHR0VSPXkKIENPTkZJR19ORVQ9eQogQ09ORklH X05FVF9ESENQPXkKLUNPTkZJR19ORVRfTkZTPXkKIENPTkZJR19ORVRfUElORz15CiBDT05GSUdf TkVUX1RGVFA9eQogQ09ORklHX05FVF9URlRQX1BVU0g9eQpAQCAtNjEsNyArNjIsMTEgQEAgQ09O RklHX0RSSVZFUl9ORVRfRkVDX0lNWD15CiBDT05GSUdfSTJDPXkKIENPTkZJR19JMkNfSU1YPXkK IENPTkZJR19NVEQ9eQorQ09ORklHX01URF9SQVdfREVWSUNFPXkKIENPTkZJR19OQU5EPXkKKyMg Q09ORklHX05BTkRfRUNDX1NPRlQgaXMgbm90IHNldAorIyBDT05GSUdfTkFORF9FQ0NfSFdfU1lO RFJPTUUgaXMgbm90IHNldAorIyBDT05GSUdfTkFORF9FQ0NfSFdfTk9ORSBpcyBub3Qgc2V0CiBD T05GSUdfTkFORF9JTVg9eQogQ09ORklHX1VTQj15CiBDT05GSUdfVVNCX0VIQ0k9eQpAQCAtNzUs OCArODAsNiBAQCBDT05GSUdfTUNJPXkKIENPTkZJR19NQ0lfSU1YX0VTREhDPXkKIENPTkZJR19M RUQ9eQogQ09ORklHX0xFRF9HUElPPXkKLUNPTkZJR19MRURfVFJJR0dFUlM9eQotQ09ORklHX0ZT X1RGVFA9eQogQ09ORklHX0ZTX0ZBVD15CiBDT05GSUdfRlNfRkFUX1dSSVRFPXkKIENPTkZJR19G U19GQVRfTEZOPXkKLS0gCjEuNy43LjYKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fXwpiYXJlYm94IG1haWxpbmcgbGlzdApiYXJlYm94QGxpc3RzLmluZnJh ZGVhZC5vcmcKaHR0cDovL2xpc3RzLmluZnJhZGVhZC5vcmcvbWFpbG1hbi9saXN0aW5mby9iYXJl Ym94Cg==