From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from enterprise01.smtp.diehl.com ([193.201.238.219]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRBlJ-0003D4-CG for barebox@lists.infradead.org; Mon, 26 Nov 2018 07:56:59 +0000 From: Denis OSTERLAND Date: Mon, 26 Nov 2018 07:56:34 +0000 Message-ID: <1543218994.4842.4.camel@diehl.com> References: <20181125225952.16159-1-r.hieber@pengutronix.de> <20181125225952.16159-2-r.hieber@pengutronix.de> In-Reply-To: <20181125225952.16159-2-r.hieber@pengutronix.de> Content-Language: en-US Content-ID: <82E39131FEB1EE46999075A5214F598C@diehl.internal> 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: Re: [PATCH 2/2] i.MX: HABv4: always print HAB status at boot time To: "barebox@lists.infradead.org" QW0gU29ubnRhZywgZGVuIDI1LjExLjIwMTgsIDIzOjU5ICswMTAwIHNjaHJpZWIgUm9sYW5kIEhp ZWJlcjoNCj4gQ3VycmVudGx5LCBib2FyZCBjb2RlIG5lZWRzIHRvIGNhbGwgaGFidjRfZ2V0X3N0 YXR1cygpIGV4cGxpY2l0ZWx5LCBidXQNCj4gdGhlcmUgaXMgbm8gcmVhc29uIHRoYXQgaXQgY2Fu bm90IGJlIGNhbGxlZCBhdXRvbWF0aWNhbGx5IGF0IHN0YXJ0dXANCj4gd2hlbiBIQUJ2NCBpcyBl bmFibGVkLiBUaGlzIHdheSB0aGUgY2FsbCBjYW5ub3QgYmUgZm9yZ290dGVuIGFuZCB3ZSBjYW4N Cj4gbWFrZSBzdXJlIHRvIHJlcG9ydCBhbGwgcG90ZW50aWFsbHkgb2NjdXJpbmcgSEFCIHdhcm5p bmdzIGFuZCBlcnJvcnMuDQpMb29rcyBsa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