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.92.3 #3 (Red Hat Linux)) id 1j91Vj-0007Ke-1X for barebox@lists.infradead.org; Tue, 03 Mar 2020 06:58:36 +0000 References: <4f2b01e0-ad01-d130-5c8e-9c3acac58770@eurek.it> <122509ae-f030-4f8a-0cae-eb2c2e31dbe9@pengutronix.de> <88405b89-494c-f510-ecb4-810f8b6e0b91@eurek.it> <5d328910-2009-b83f-014a-75a4847ea235@pengutronix.de> <76d54e08-0051-3069-015c-727a6bd9a38f@eurek.it> <4e386cf3-69f3-fd0a-dfae-2827cc2b1c5e@pengutronix.de> <2b5d2afe-c71e-34b9-efa5-57aaa5f28445@eurek.it> <8da838d3-ac20-adcb-74c0-e0f921c4a083@pengutronix.de> <701628bd-3198-a670-a3e7-13f137a99d2d@eurek.it> From: Ahmad Fatoum Message-ID: Date: Tue, 3 Mar 2020 07:58:32 +0100 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US 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: Barebox as first and second stage bootloader To: gianluca , barebox@lists.infradead.org SGksCgpPbiAyLzI4LzIwIDk6MjggQU0sIGdpYW5sdWNhIHdyb3RlOgo+PiBSVU5OSU5HIFByb2dy YW0gLi4uCj4+IMKgIFBhcnRJRDrCoMKgwqDCoMKgIDoweDAzCj4+Cj4+IHJlY29ubmVjdGluZyB0 aGUgZGV2aWNlIC4uLgo+Pgo+PiBFcnJvcjogdW5hYmxlIHRvIHJlY29ubmVjdCB0aGUgdGFyZ2V0 IGRldmljZTogdGltZSBvdXQgZXhwaXJlZAo+Pgo+Pgo+PiBFcnJvcjogU3RhcnQgb3BlcmF0aW9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