From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SR54f-000389-2t for barebox@lists.infradead.org; Sun, 06 May 2012 17:16:46 +0000 Date: Sun, 6 May 2012 19:16:38 +0200 From: Sascha Hauer Message-ID: <20120506171638.GT4141@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: RFC: Force a 2s delay on startup to allow bypassing /dev/env0. To: Krzysztof Halasa Cc: barebox@lists.infradead.org T24gU2F0LCBNYXkgMDUsIDIwMTIgYXQgMTE6MjY6MjJQTSArMDIwMCwgS3J6eXN6dG9mIEhhbGFz YSB3cm90ZToKPiBKdXN0IHJlcXVlc3RpbmcgY29tbWVudHMuIEknbSB1c2luZyB0aGlzIG9uIG15 IGh3Lgo+IAo+IFRoZSBpZGVhIGlzIHRoYXQgL2Vudi9iaW4vaW5pdCBtYXkgYmUgdW5pbnRlcnJ1 cHRpYmxlIGFuZCB0aGUgdXNlcgo+IG1heSBiZSB1bmFibGUgdG8gcmVjb3ZlciBjb250cm9sIG92 ZXIgdGhlIGJhcmVib3guIFBlcmhhcHMgdGhlcmUgaXMKPiBhIGJldHRlciB3YXk/CgpCZWluZyBh YmxlIHRvIGludGVycnVwdCBiZWZvcmUgZW52aXJvbm1lbnQgcHJvY2Vzc2luZyBpcyBhIGdvb2Qg dGhpbmcgdG8KaGF2ZSwgdGhlIGRlbGF5IHRob3VnaCBpcyBub3QgYWNjZXB0YWJsZSBiZWNhdXNl IGl0IHdvdWxkIGluY3JlYXNlIHRoZQpib290IHRpbWUgb24gc29tZSBz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KPiAgCS8qIG1haW5fbG9vcCgpIGNhbiBy ZXR1cm4gdG8gcmV0cnkgYXV0b2Jvb3QsIGlmIHNvIGp1c3QgcnVuIGl0IGFnYWluLiAqLwo+ICAJ Zm9yICg7OykKPiAgCQlydW5fc2hlbGwoKTsKPiAKPiAtLSAKPiBLcnp5c3p0b2YgSGFsYXNhCj4g Cj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KPiBiYXJl Ym94IG1haWxpbmcgbGlzdAo+IGJhcmVib3hAbGlzdHMuaW5mcmFkZWFkLm9yZwo+IGh0dHA6Ly9s aXN0cy5pbmZyYWRlYWQub3JnL21haWxtYW4vbGlzdGluZm8vYmFyZWJveAoKLS0gClBlbmd1dHJv bml4IGUuSy4gICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgICAgICAgICAgICAg ICAgICAgICB8CkluZHVzdHJpYWwgTGludXggU29sdXRpb25zICAgICAgICAgICAgICAgICB8IGh0 dHA6Ly93d3cucGVuZ3V0cm9uaXguZGUvICB8ClBlaW5lciBTdHIuIDYtOCwgMzExMzcgSGlsZGVz aGVpbSwgR2VybWFueSB8IFBob25lOiArNDktNTEyMS0yMDY5MTctMCAgICB8CkFtdHNnZXJpY2h0 IEhpbGRlc2hlaW0sIEhSQSAyNjg2ICAgICAgICAgICB8IEZheDogICArNDktNTEyMS0yMDY5MTct NTU1NSB8CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpi YXJlYm94IG1haWxpbmcgbGlzdApiYXJlYm94QGxpc3RzLmluZnJhZGVhZC5vcmcKaHR0cDovL2xp c3RzLmluZnJhZGVhZC5vcmcvbWFpbG1hbi9saXN0aW5mby9iYXJlYm94Cg==