From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx01.eckelmann.de ([217.19.183.72]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ePQAS-00079W-P5 for barebox@lists.infradead.org; Thu, 14 Dec 2017 09:51:14 +0000 Received: from ex-srv1.eckelmann.group ([172.18.35.4]:26580 helo=smtp.eckelmann.de) by mx01.eckelmann.de with esmtps (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1ePQ9m-0007vn-07 for barebox@lists.infradead.org; Thu, 14 Dec 2017 10:50:22 +0100 From: Gavin Schenk Date: Thu, 14 Dec 2017 10:50:12 +0100 Message-ID: <20171214095012.10223-1-g.schenk@eckelmann.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] bootchooser: Fix initcall before environment is ready To: barebox@lists.infradead.org Cc: Gavin Schenk U29tZSBwcm9wZXJ0aWVzIG9mIGJvb3RjaG9vc2VyIGFyZSBpbml0aWFsaXplZCBieSBOViB2YXJp YWJsZXMuCgpJbml0aWFsaXplIGJvb3RjaG9vc2VyIGFzIHBvc3RlbnZpcm9ubWVudF9pbml0Y2Fs bCB0byBlbnN1cmUgdGhhdApwcm9wZXJ0aWVzIGNhbiBiZSBpbml0aWFsaXplZCBjb3JyZWN0bHku CgpTaWduZWQtb2ZmLWJ5OiBHYXZpbiBTY2hlbmsgPGcuc2NoZW5rQGVja2VsbWFubi5kZT4KLS0t CgpIaSwKCkkgd2FudCB0byBpbml0aWFsaXplIGJvb3RjaG9vc2VyLnJlc2V0X2F0dGVtcHRzPWFs bC16ZXJvIHBvd2VyLW9uIG9uIG15Cm1hY2hpbmUuCgpjYXQgYm9vdGNob29zZXIucmVzZXRfYXR0 Z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