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 1jbLGp-00085Y-Hx for barebox@lists.infradead.org; Wed, 20 May 2020 09:44:16 +0000 From: Sascha Hauer Date: Wed, 20 May 2020 11:43:48 +0200 Message-Id: <20200520094403.12651-5-s.hauer@pengutronix.de> In-Reply-To: <20200520094403.12651-1-s.hauer@pengutronix.de> References: <20200520094403.12651-1-s.hauer@pengutronix.de> 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 04/19] fastboot: don't close fd 0 when downloading to ram To: Barebox List Cc: Edmund Henniges , =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= RnJvbTogRGFuaWVsIEdsw7Zja25lciA8ZGdAZW1saXguY29tPgoKV2hlbiBkb3dubG9hZGluZyB0 byBhIGJ1ZmZlciwgZG93bmxvYWRfZmQgaXMgbmV2ZXIgYXNzaWduZWQgYSB2YWxpZCBmaWxlCmRl c2NyaXB0b3IuIFdlIHNob3VsZCB0aGVyZWZvcmUgYXZvaWQgY2FsbGluZyBjbG9zZSBvbiB0aGUg dmFsdWUgZm91bmQKaW4gdGhhdCB2YXJpYWJsZS4KClNpZ25lZC1vZmYtYnk6IERhbmllbCBHbMO2 Y2tuZXIgPGRnQGVtbGl4LmNvbT4KU2lnbmVkLW9mZi1ieTogU2FzY2hhIEhhdWVyIDxzLmhhdWVy QHBlbmd1dHJvbml4LmRlPgotLS0KIGNvbW1vbi9mYXN0Ym9vdC5jIHwgMyArKy0KIDEgZmlsZSBj aGFuZ2VkLCAyIGluc2VydGlvbnMoKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naX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