From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 13 Aug 2021 22:22:28 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mEdhE-0002x6-Rf for lore@lore.pengutronix.de; Fri, 13 Aug 2021 22:22:28 +0200 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEdhA-0001ro-Kx for lore@pengutronix.de; Fri, 13 Aug 2021 22:22:28 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:To:From:Subject:Message-ID:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hhwmqWDX7eyMbAJClw+TO6B5K+if9ry6a2bSXZscNfM=; b=BwA8DgvEixuUh3 XtgsdJk4BCHRsYa8wBcDwiL4rqVJPiZkTOz9mCKLIiWBZbLmkn7HLFnPoMeWc6DK0wFQMqKJJO3Iw dECwILvrDOldlA/WJ1ipCAVIH/m0MZ3Hz/Wg5ZgbjmynfnCe9VigjnypAwpSpwlVU+n0OZtaarvkD 0/AyL3uaohW1qC099JIL+Oa7sCHv5//3RCiMYpkLmLW9Ps7XR5J2ZspcBYP9EhBqEtrK84Ggnl2FN AnPjXUrXt1QNAUEevCUhO3GYd04JclKIIMOFmC7nlrPNpflMCj04PUJgReaK1V8NLDk1Onc57/l63 hcuTGte9WiCHlj2dG/FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEdfQ-00DY43-Bl; Fri, 13 Aug 2021 20:20:36 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEdfL-00DY3Z-Hx for barebox@lists.infradead.org; Fri, 13 Aug 2021 20:20:33 +0000 Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEdfH-0001f3-Qp; Fri, 13 Aug 2021 22:20:27 +0200 Message-ID: From: Lucas Stach To: Ahmad Fatoum , Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , barebox@lists.infradead.org, Rouven Czerwinski Date: Fri, 13 Aug 2021 22:20:27 +0200 In-Reply-To: References: <20210813152245.15841-1-u.kleine-koenig@pengutronix.de> <20210813152245.15841-2-u.kleine-koenig@pengutronix.de> User-Agent: Evolution 3.40.3 (3.40.3-1.fc34) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210813_132031_643991_50CE1745 X-CRM114-Status: GOOD ( 25.87 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list 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" X-SA-Exim-Connect-IP: 2607:7c80:54:e::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-5.0 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: [PATCH v2 1/3] imx8mp-evk: Add support for booting via USB X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) QW0gRnJlaXRhZywgZGVtIDEzLjA4LjIwMjEgdW0gMjE6MjYgKzAyMDAgc2NocmllYiBBaG1hZCBG YXRvdW06Cj4gT24gMTMuMDguMjEgMTc6MjIsIFV3ZSBLbGVpbmUtS8O2bmlnIHdyb3RlOgo+IAo+ IFMtby1iIG1pc3NpbmcuCj4gCj4gPiAtLS0KPiA+ICBhcmNoL2FybS9ib2FyZHMvbnhwLWlteDht cC1ldmsvbG93bGV2ZWwuYyB8IDI3ICsrKysrKysrKysrKysrKysrKysrKysrCj4gPiAgYXJjaC9h cm0vbWFjaC1pbXgvYm9vdC5jICAgICAgICAgICAgICAgICAgfCAgNCArKystCj4gPiAgaW5jbHVk ZS9hc20tZ2VuZXJpYy9zZWN0aW9ucy5oICAgICAgICAgICAgfCAgMSArCj4gPiAgMyBmaWxlcyBj aGFuZ2VkLCAzMSBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9uKC0pCj4gPiAKPiA+IGRpZmYgLS1n aXQgYS9hcmNoL2FybS9ib2FyZHMvbnhwLWlteDhtcC1ldmsvbG93bGV2ZWwuYyBiL2FyY2gvYXJt L2JvYXJkcy9ueHAtaW14OG1wLWV2ay9sb3dsZXZlbC5jCj4gPiBpbmRleCAzMjk4ZGVkNTg2NmQu LjFmYjc4OTkxOThkNiAxMDA2NDQKPiA+IC0tLSBhL2FyY2gvYXJtL2JvYXJkcy9ueHAtaW14OG1w LWV2ay9sb3dsZXZlbC5jCj4gPiArKysgYi9hcmNoL2FybS9ib2FyZHMvbnhwLWlteDhtcC1ldmsv bG93bGV2ZWwu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