From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 13 Aug 2021 21:29:43 +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 1mEcsB-0001SC-Ay for lore@lore.pengutronix.de; Fri, 13 Aug 2021 21:29:43 +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 1mEcs6-0004rl-R7 for lore@pengutronix.de; Fri, 13 Aug 2021 21:29:43 +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:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=IvGJNhkzCmuaPugx2+XPuK/N2e4v9ZmnLO9hXPyTXno=; b=tm5vgK57MEhMbME0XIK/SWhHnW +rmmTHODAi4OAqfwD4Gb7GMdgek2E4h+eQYJ25pTjKJ+9+MaZNwmImR8bzR1o0RIVKicOudw4vWGJ 5Qo0B5udn+bKuK0AmK/ImTKiVLq23u0UWBZ8aW2Q/iKWamrbZG8Laoq1NUI7P/87878VKoMygjEUZ Z/gFm+oJ7v3s23JJikIkQfMj83k3IDARnNSTiAkkuzXTZPqJ4fMWURIdtjVIK27EI8F644BQi0k5b NNviJCEkAJJl1fu1mBRM7TLBzFlQMMXX/n36t13B/qMLN3haEOu4ey/Pwr+sKTYiZXjFaVPJACMEF Nfb2PLfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEcpY-00DStx-3L; Fri, 13 Aug 2021 19:27:00 +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 1mEcpQ-00DSsM-8M for barebox@lists.infradead.org; Fri, 13 Aug 2021 19:26:56 +0000 Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mEcpL-0004nn-Rg; Fri, 13 Aug 2021 21:26:47 +0200 To: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , barebox@lists.infradead.org, Rouven Czerwinski References: <20210813152245.15841-1-u.kleine-koenig@pengutronix.de> <20210813152245.15841-2-u.kleine-koenig@pengutronix.de> From: Ahmad Fatoum Message-ID: Date: Fri, 13 Aug 2021 21:26:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210813152245.15841-2-u.kleine-koenig@pengutronix.de> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210813_122652_346262_52393C0C X-CRM114-Status: GOOD ( 27.14 ) 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=-4.9 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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) T24gMTMuMDguMjEgMTc6MjIsIFV3ZSBLbGVpbmUtS8O2bmlnIHdyb3RlOgoKUy1vLWIgbWlzc2lu Zy4KCj4gLS0tCj4gIGFyY2gvYXJtL2JvYXJkcy9ueHAtaW14OG1wLWV2ay9sb3dsZXZlbC5jIHwg MjcgKysrKysrKysrKysrKysrKysrKysrKysKPiAgYXJjaC9hcm0vbWFjaC1pbXgvYm9vdC5jICAg ICAgICAgICAgICAgICAgfCAgNCArKystCj4gIGluY2x1ZGUvYXNtLWdlbmVyaWMvc2VjdGlvbnMu aCAgICAgICAgICAgIHwgIDEgKwo+ICAzIGZpbGVzIGNoYW5nZWQsIDMxIGluc2VydGlvbnMoKyks IDEgZGVsZXRpb24oLSkKPiAKPiBkaWZmIC0tZ2l0IGEvYXJjaC9hcm0vYm9hcmRzL254cC1pbXg4 bXAtZXZrL2xvd2xldmVsLmMgYi9hcmNoL2FybS9ib2FyZHMvbnhwLWlteDhtcC1ldmsvbG93bGV2 ZWwuYwo+IGluZGV4IDMyOThkZWQ1ODY2ZC4uMWZiNzg5OTE5OGQ2IDEwMDY0NAo+IC0tLSBhL2Fy Y2gvYXJtL2JvYXJkcy9ueHAtaW14OG1wLWV2ay9sb3dsZXZlbC5jCj4gKysrIGIvYXJjaC9hcm0v Ym9hcmRzL254cC1pbXg4bXAtZXZrL2xvd2xldmVsLmMKPiBAQCAtOTksNiArOTksMzAgQEAgc3Rh dGljIGludCBwb3dlcl9pbml0X2JvYXJkKHZvaWQpCj4gIAlyZXR1cm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