From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phycard.co.uk ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cvJSB-0004MN-Ot for barebox@lists.infradead.org; Tue, 04 Apr 2017 08:04:43 +0000 Date: Tue, 4 Apr 2017 10:04:09 +0200 From: Jan Remmet Message-ID: <20170404080321.GA2957@lws-weitzel2@phytec.de> References: <20170330063139.kfxjxb33cbrbzrdp@pengutronix.de> <20170331062139.d5kaoagglgnylr2r@pengutronix.de> <20170331070209.ogz4znywovz2rneb@pengutronix.de> <20170331072338.er5w3t42yvfgtrf6@pengutronix.de> <20170331130058.y6prkk3xsys2ypg5@pengutronix.de> MIME-Version: 1.0 In-Reply-To: Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jan Remmet 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: State Framework and dtb To: =?utf-8?B?w4dhxJ9sYXI=?= Kilimci Cc: barebox T24gTW9uLCBBcHIgMDMsIDIwMTcgYXQgMTE6NTk6NTBQTSArMDMwMCwgw4dhxJ9sYXIgS2lsaW1j aSB3cm90ZToKPiBIZWxsbywKPiAKPiAyMDE3LTAzLTMxIDE2OjAwIEdNVCswMzowMCBTYXNjaGEg SGF1ZXIgPHMuaGF1ZXJAcGVuZ3V0cm9uaXguZGU+Ogo+ID4gT24gRnJpLCBNYXIgMzEsIDIwMTcg YXQgMDI6NDE6MTlQTSArMDMwMCwgw4dhxJ9sYXIgS2lsaW1jaSB3cm90ZToKPiA+PiBIZXksCj4g Pj4KPiA+Pgo+ID4+IEkgdHJpZWQgYnV0IGdvdCB0aGUgc2FtZSByZXN1bHQgYW5kIHRoZW4gSSB3 b3VsZCBsaWtlIHRvIGFwcGx5IHlvdXIKPiA+PiBzZXJpb3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o+ICAgICAgICAgICAgICAgICBiYWNrZW5kLXR5cGUg PSAicmF3IjsKPiAgICAgICAgICAgICAgICAgYmFja2VuZCA9IDwweDQyPjsKPiAgICAgICAgICAg ICAgICAgZm9vIHsKPiAgICAgICAgICAgICAgICAgICAgICAgICByZWcgPSA8MHgwIDB4ND47Cj4g ICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICJ1aW50MzIiOwo+ICAgICAgICAgICAgICAg ICAgICAgICAgIGRlZmF1bHQgPSA8MHgwPjsKPiAgICAgICAgICAgICAgICAgfTsKPiAgICAgICAg ICAgICAgICAgYmFyIHsKPiAgICAgICAgICAgICAgICAgICAgICAgICByZWcgPSA8MHgxMCAweDQ+ Owo+ICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAiZW51bTMyIjsKPiAgICAgICAgICAg ICAgICAgICAgICAgICBuYW1lcyA9ICJiYXoiLCAicXV4IjsKPiAgICAgICAgICAgICAgICAgICAg ICAgICBkZWZhdWx0ID0gPDB4MT47Cj4gICAgICAgICAgICAgICAgIH07Cj4gICAgICAgICB9OwoK SGVyZSBhIHdvcmtpbmcgZXhhbXBsZSBmb3IgYmFyZWJveCAyMDE2LjExLjAgc28gdGhlcmUgbWF5 IGJlIGNoYW5nZXMgd2l0aCB0aGUKYWN0dWFsIHN0YXRlIGNsZWFudXAgcGF0Y2hlcwoKKyAgICAg ICBzdGF0ZTI6IHN0YXRlX3NvY2tldCB7CisgICAgICAgICAgICAgICBtYWdpYyA9IDwweDQ1NmVm MzYzPjsKKyAgICAgICAgICAgICAgIGNvbXBhdGlibGUgPSAiYmFyZWJveCxzdGF0ZSI7CisgICAg ICAgICAgICAgICBiYWNrZW5kLXR5cGUgPSAicmF3IjsKKyAgICAgICAgICAgICAgIGJhY2tlbmQg PSAmZWVwcm9tOworICAgICAgICAgICAgICAgYmFja2VuZC1zdG9yYWdlLXR5cGUgPSAiZGlyZWN0 IjsKKyAgICAgICAgICAgICAgIGJhY2tlbmQtc3RyaWRlc2l6ZSA9IDwweDUzPjsKKworICAgICAg ICAgICAgICAgc3RhdGVhcGkgeworICAgICAgICAgICAgICAgICAgICAgICByZWcgPSA8MHgwMCAw eDE+OworICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gInVpbnQ4IjsKKyAgICAgICAgICAg ICAgICAgICAgICAgZGVmYXVsdCA9IDwweDA+OworICAgICAgICAgICAgICAgfTsKKyAgICAgICAg ICAgICAgIHNvY2tldGlkIHsKKyAgICAgICAgICAgICAgICAgICAgICAgcmVnID0gPDB4MDEgMHgx PjsKKyAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICJ1aW50OCI7CisgICAgICAgICAgICAg ICAgICAgICAgIGRlZmF1bHQgPSA8MHgwPjsKKyAgICAgICAgICAgICAgIH07CisKKyAgICAgICAg ICAgICAgIHNvY2tldG5hbWUgeworICAgICAgICAgICAgICAgICAgICAgICByZWcgPSA8MHgwMiAw eDEwPjsKKyAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICJzdHJpbmciOworICAgICAgICAg ICAgICAgICAgICAgICBkZWZhdWx0ID0gIm5vbmUiOworICAgICAgICAgICAgICAgfTsKKworICAg ICAgICAgICAgICAgc29ja2V0c2VyaWFsIHsKKyAgICAgICAgICAgICAgICAgICAgICAgcmVnID0g PDB4MTIgMHgxOT47CisgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAic3RyaW5nIjsKKyAg ICAgICAgICAgICAgICAgICAgICAgZGVmYXVsdCA9ICJub25lIjsKKyAgICAgICAgICAgICAgIH07 CisgICAgICAgfTsKK30KCk1heWJlIHRoZSBtaXNzaW5nIGJhY2tlbmQtc3RvcmFnZS10eXBlIGlz IGEgcHJvYmxlbT8KSW0gbm90IHN1cmUgaG93IEkgY2FsY3VsYXRlIHRoZSBiYWNrZW5kLXN0cmlk ZXNpemUgbGFzdCB0aW1lLgoKCmNvbmZpZyBmcmFnbWVudHM6CkNPTkZJR19TVEFURT15CiMgQ09O RklHX1NUQVR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j4g Kwo+ICsgICAgICAgICAgICAgICBmb28gewo+ICsgICAgICAgICAgICAgICAgICAgICByZWcgPSA8 MHgwMCAweDQ+Owo+ICsgICAgICAgICAgICAgICAgICAgICB0eXBlID0gInVpbnQzMiI7Cj4gKyAg ICAgICAgICAgICAgICAgICAgIGRlZmF1bHQgPSA8MHgwPjsKPiArICAgICAgICAgICAgICAgfTsK PiArCj4gKyAgICAgICAgICAgICAgIGJhciB7Cj4gKyAgICAgICAgICAgICAgICAgICAgIHJlZyA9 IDwweDEwIDB4ND47Cj4gKyAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAiZW51bTMyIjsKPiAr ICAgICAgICAgICAgICAgICAgICAgbmFtZXMgPSAiYmF6IiwgInF1eCI7Cj4gKyAgICAgICAgICAg ICAgICAgICAgIGRlZmF1bHQgPSA8MT47Cj4gKyAgICAgICAgICAgICAgIH07Cj4gKyAgICAgICB9 Owo+ICB9Owo+IAo+ICAmYW0zM3h4X3Bpbm11eCB7Cj4gQEAgLTE0OCw2ICsxNjgsMTAgQEAKPiAg ICAgICAgICAgICAgICAgY29tcGF0aWJsZSA9ICJhdG1lbCwyNGMzMiI7Cj4gICAgICAgICAgICAg ICAgIHBhZ2VzaXplID0gPDMyPjsKPiAgICAgICAgICAgICAgICAgcmVnID0gPDB4NTI+Owo+ICsg ICAgICAgICAgICAgICBzdGF0ZV9wYXJ0OiBzdGF0ZUAxMDAwIHsKPiArICAgICAgICAgICAgICAg ICAgICAgICBsYWJlbCA9ICJzdGF0ZSI7Cj4gKyAgICAgICAgICAgICAgICAgICAgICAgcmVnID0g PDB4MTAwMCAweDEwMDA+Owo+ICsgICAgICAgICAgICAgICB9Owo+ICAgICAgICAgfTsKPiAgfTsK PiAKPiBTbywgd2h5IGRvZXMgbm90IHN0YXRlIGZyYW1ld29yayBjYXRjaCBteSBzdGF0ZSBkZXZp Y2U/Cj4gCj4gU2luY2VyZWx5LAo+IC0tIAo+IMOHYcSfbGFyIEtpbGltY2kKPiAKPiBfX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IGJhcmVib3ggbWFpbGlu ZyBsaXN0Cj4gYmFyZWJveEBsaXN0cy5pbmZyYWRlYWQub3JnCj4gaHR0cDovL2xpc3RzLmluZnJh ZGVhZC5vcmcvbWFpbG1hbi9saXN0aW5mby9iYXJlYm94CgpfX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fXwpiYXJlYm94IG1haWxpbmcgbGlzdApiYXJlYm94QGxp c3RzLmluZnJhZGVhZC5vcmcKaHR0cDovL2xpc3RzLmluZnJhZGVhZC5vcmcvbWFpbG1hbi9saXN0 aW5mby9iYXJlYm94Cg==