From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 References: <1604999513-21229-1-git-send-email-avazquez.dev@gmail.com> <7181a38d7dcecc82f1ba700b53f77f1c35ac6aa0.camel@diehl.com> <20201111085944.GT29830@pengutronix.de> In-Reply-To: <20201111085944.GT29830@pengutronix.de> From: Alex Vazquez Date: Wed, 11 Nov 2020 13:00:16 +0100 Message-ID: Subject: Re: [ptxdist] [PATCH] ptxd_make_fit_image: Add mandatory properties List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: Sascha Hauer Cc: ptxdist@pengutronix.de RWwgbWnDqS4sIDExIG5vdi4gMjAyMCBhIGxhcyA5OjU5LCBTYXNjaGEgSGF1ZXIKKDxzLmhhdWVy QHBlbmd1dHJvbml4LmRlPikgZXNjcmliacOzOgo+Cj4gT24gV2VkLCBOb3YgMTEsIDIwMjAgYXQg MDk6NDc6NDJBTSArMDEwMCwgQWxleCBWYXpxdWV6IHdyb3RlOgo+ID4gICAgQWNjb3JkaW5nIHRv IHRoZSBGSVQgaW1hZ2Ugc3BlY2lmaWNhdGlvbiwgdGhlc2UgcHJvcGVydGllcyBhcmUgbWFuZGF0 b3J5Lgo+ID4gICAgWzFdaHR0cHM6Ly9naXRsYWIuZGVueC5kZS91LWJvb3QvdS1ib290Ly0vYmxv Yi9tYXN0ZXIvZG9jL3VJbWFnZS5GSVQvc291cmNlX2ZpbGVfZm9ybWF0LnR4dAo+Cj4gUHV0dGlu ZyBhIGxvYWQgYWRkcmVzcyBpbnRvIHRoZSBGSVQgaW1hZ2UgbWVhbnMgdGhhdCB0aGUgaW1hZ2Ug Y2FuIHJ1bgo+IG9ubHkgb24gYm9hcmRzIHdoaWNoIGhhdmUgU0RSQU0gdGhlcmUuIFdlIGNhbiBi dW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