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.2 #3 (Red Hat Linux)) id 1iCffB-0004Sm-VA for barebox@lists.infradead.org; Tue, 24 Sep 2019 07:55:16 +0000 Date: Tue, 24 Sep 2019 09:55:06 +0200 From: Michael Tretter Message-ID: <20190924095506.62b64c83@litschi.hi.pengutronix.de> In-Reply-To: <4e5e80d0-2ef2-c474-027f-2b8d0a2bf17a@pengutronix.de> References: <20190920124433.31026-1-m.tretter@pengutronix.de> <4e5e80d0-2ef2-c474-027f-2b8d0a2bf17a@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: Re: [PATCH] blspec: skip entries that are not blspec entries To: barebox@lists.infradead.org Cc: Ahmad Fatoum T24gTW9uLCAyMyBTZXAgMjAxOSAyMDozMDozNSArMDIwMCwgQWhtYWQgRmF0b3VtIHdyb3RlOgo+ IE9uIDkvMjAvMTkgMjo0NCBQTSwgTWljaGFlbCBUcmV0dGVyIHdyb3RlOgo+ID4gVGhlIGxpc3Qg b2YgYm9vdCBlbnRyaWVzIGNhbiBjb250YWluIGl0ZW1zIHRoYXQgYXJlIG5vdCBibHNwZWMgZW50 cmllcy4KPiA+IEZvciBleGFtcGxlLCB0aGUgYm9vdGNob29zZXIgYWxzbyBhZGRzIGFuIGl0ZW0g dG8gdGhpcyBsaXN0LiBUaGVyZWZvcmUsCj4gPiBibHNwZWMgY2Fubm90IHVuY29uZGl0aW9uYWxs eSBpbnRlcnByZXQgZW50cmllcyBhcyBibHNwZWMgZW50cmllcy4KPiA+IAo+ID4gVGhlIGVycm9y IGlzIHJlcHJvZHVjZWQgYnkgbGlzdGluZyB0aG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