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 1iCT6b-00041e-0j for barebox@lists.infradead.org; Mon, 23 Sep 2019 18:30:38 +0000 References: <20190920124433.31026-1-m.tretter@pengutronix.de> From: Ahmad Fatoum Message-ID: <4e5e80d0-2ef2-c474-027f-2b8d0a2bf17a@pengutronix.de> Date: Mon, 23 Sep 2019 20:30:35 +0200 MIME-Version: 1.0 In-Reply-To: <20190920124433.31026-1-m.tretter@pengutronix.de> Content-Language: en-US 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, Michael Tretter T24gOS8yMC8xOSAyOjQ0IFBNLCBNaWNoYWVsIFRyZXR0ZXIgd3JvdGU6Cj4gVGhlIGxpc3Qgb2Yg Ym9vdCBlbnRyaWVzIGNhbiBjb250YWluIGl0ZW1zIHRoYXQgYXJlIG5vdCBibHNwZWMgZW50cmll cy4KPiBGb3IgZXhhbXBsZSwgdGhlIGJvb3RjaG9vc2VyIGFsc28gYWRkcyBhbiBpdGVtIHRvIHRo aXMgbGlzdC4gVGhlcmVmb3JlLAo+IGJsc3BlYyBjYW5ub3QgdW5jb25kaXRpb25hbGx5IGludGVy cHJldCBlbnRyaWVzIGFzIGJsc3BlYyBlbnRyaWVzLgo+IAo+IFRoZSBlcnJvciBpcyByZXByb2R1 Y2VkIGJ5IGxpc3RpbmcgdGhlIGJvb3QgZW50cmllcyB3aXRoIHRoZSBib290Y2hvb3Nlcgo+IGFu ZCBhIHJvb3RmcyB3aXRoIGJsc3BlYyBlbnRyaWVzLCBlLmcuOgo+IAo+IAlib290I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