From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a3lHR-0005xd-H0 for barebox@lists.infradead.org; Tue, 01 Dec 2015 13:47:42 +0000 Received: by wmvv187 with SMTP id v187so207452332wmv.1 for ; Tue, 01 Dec 2015 05:47:22 -0800 (PST) From: Florian Vallee Date: Tue, 1 Dec 2015 14:46:47 +0100 Message-Id: <1448977608-4950-2-git-send-email-fvallee@eukrea.fr> In-Reply-To: <1448977608-4950-1-git-send-email-fvallee@eukrea.fr> References: <1448977608-4950-1-git-send-email-fvallee@eukrea.fr> 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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/3] eukrea-cpuimx35: setup usb through chipidea-imx driver To: barebox@lists.infradead.org Cc: Florian Vallee , =?UTF-8?q?Eric=20B=C3=A9nard?= T1RHIGFuZCBIT1NUIHBvcnQgYXJlIHRlc3RlZCB3aXRoIGEgbWFzcyBzdG9yYWdlIGRldmljZS4K ClNpZ25lZC1vZmYtYnk6IEZsb3JpYW4gVmFsbGVlIDxmdmFsbGVlQGV1a3JlYS5mcj4KU2lnbmVk LW9mZi1ieTogRXJpYyBCw6luYXJkIDxlcmljQGV1a3JlYS5jb20+Ci0tLQogYXJjaC9hcm0vYm9h cmRzL2V1a3JlYV9jcHVpbXgzNS9ldWtyZWFfY3B1aW14MzUuYyB8IDM4ICsrKysrKysrKystLS0t LS0tLS0tLS0tCiAxIGZpbGUgY2hhbmdlZCwgMTYgaW5zZXJ0aW9ucygrKSwgMjIgZGVsZXRpb25z KC0pCgpkaWZmIC0tZ2l0IGEvYXJjaC9hcm0vYm9hcmRzL2V1a3JlYV9jcHVpbXg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