From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cv95B-0004xF-Tq for barebox@lists.infradead.org; Mon, 03 Apr 2017 21:00:16 +0000 Received: by mail-wr0-x22b.google.com with SMTP id k6so181986466wre.2 for ; Mon, 03 Apr 2017 13:59:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170331130058.y6prkk3xsys2ypg5@pengutronix.de> References: <20170330063139.kfxjxb33cbrbzrdp@pengutronix.de> <20170331062139.d5kaoagglgnylr2r@pengutronix.de> <20170331070209.ogz4znywovz2rneb@pengutronix.de> <20170331072338.er5w3t42yvfgtrf6@pengutronix.de> <20170331130058.y6prkk3xsys2ypg5@pengutronix.de> From: =?UTF-8?B?w4dhxJ9sYXIgS2lsaW1jaQ==?= Date: Mon, 3 Apr 2017 23:59:50 +0300 Message-ID: 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: State Framework and dtb To: Sascha Hauer Cc: barebox SGVsbG8sCgoyMDE3LTAzLTMxIDE2OjAwIEdNVCswMzowMCBTYXNjaGEgSGF1ZXIgPHMuaGF1ZXJA cGVuZ3V0cm9uaXguZGU+Ogo+IE9uIEZyaSwgTWFyIDMxLCAyMDE3IGF0IDAyOjQxOjE5UE0gKzAz MDAsIMOHYcSfbGFyIEtpbGltY2kgd3JvdGU6Cj4+IEhleSwKPj4KPj4KPj4gSSB0cmllZCBidXQg Z290IHRoZSBzYW1lIHJlc3VsdCBhbmQgdGhlbiBJIHdvdWxkIGxpa2UgdG8gYXBwbHkgeW91cgo+ PiBzZXJpb3VzIHBhdGNoIHNlcmllcyBvZiB0aGUgc3RhdGUgZnJhbWV3b3JrIGJ1d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AgICAgICAgICAgICAgICAgcmVnID0gPDB4MCAweDQ+OwogICAgICAgICAg ICAgICAgICAgICAgICB0eXBlID0gInVpbnQzMiI7CiAgICAgICAgICAgICAgICAgICAgICAgIGRl ZmF1bHQgPSA8MHgwPjsKICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICBiYXIgewog ICAgICAgICAgICAgICAgICAgICAgICByZWcgPSA8MHgxMCAweDQ+OwogICAgICAgICAgICAgICAg ICAgICAgICB0eXBlID0gImVudW0zMiI7CiAgICAgICAgICAgICAgICAgICAgICAgIG5hbWVzID0g ImJheiIsICJxdXgiOwogICAgICAgICAgICAgICAgICAgICAgICBkZWZhdWx0ID0gPDB4MT47CiAg ICAgICAgICAgICAgICB9OwogICAgICAgIH07CkkgY2FuIHNlZSBpbiB0aGUgZWVwcm9tIHNlY3Rp b24sIHRvbzoKYmFyZWJveEBQaHl0ZWMgcGh5Q09SRSBBTTMzNXg6LyBvZl9kdW1wIGkyYzAKaTJj QDQ0ZTBiMDAwIHsKICAgICAgICBjb21wYXRpYmxlID0gInRpLG9tYXA0LWkyYyI7CiAgICAgICAg I2FkZHJlc3MtY2VsbHMgPSA8MHgxPjsKICAgICAgICAjc2l6ZS1jZWxscyA9IDwweDA+OwogICAg ICAgIHRpLGh3bW9kcyA9ICJpMmMxIjsKICAgICAgICByZWcgPSA8MHg0NGUwYjAwMCAweDEwMDA+ OwogICAgICAgIGludGVycnVwdHMgPSA8MHg0Nj47CiAgICAgICAgc3RhdHVzID0gIm9rYXkiOwog ICAgICAgIHBpbmN0cmwtbmFtZXMgPSAiZGVmYXVsdCI7CiAgICAgICAgcGluY3RybC0wID0gPDB4 MmM+OwogICAgICAgIGNsb2NrLWZyZXF1ZW5jeSA9IDwweDYxYTgwPjsKICAgICAgICBlZXByb21A NTIgewogICAgICAgICAgICAgICAgc3RhdHVzID0gIm9rYXkiOwogICAgICAgICAgICAgICAgY29t cGF0aWJsZSA9ICJhdG1lbCwyNGMzMiI7CiAgICAgICAgICAgICAgICBwYWdlc2l6ZSA9IDwweDIw PjsKICAgICAgICAgICAgICAgIHJlZyA9IDwweDUyPjsKICAgICAgICAgICAgICAgIHN0YXRlQDEw MDAgewogICAgICAgICAgICAgICAgICAgICAgICBsYWJlbCA9ICJzdGF0ZSI7CiAgICAgICAgICAg ICAgICAgICAgICAgIHJlZyA9IDwweDEwMDAgMHgxMDAwPjsKICAgICAgICAgICAgICAgICAgICAg ICAgbGludXgscGhhbmRsZSA9IDwweDQyPjsKICAgICAgICAgICAgICAgICAgICAgICAgcGhhbmRs ZSA9IDwweDQyPjsKICAgICAgICAgICAgICAgIH07CiAgICAgICAgfTsKfTsKCkJ1dCBzdGlsbCBz dGF0ZSBjb21tYW5kIGRvZXMgbm90IHNob3cgYW55IHN0YXRlIGRldmljZToKYmFyZWJveEBQaHl0 ZWMgcGh5Q09SRSBBTTMzNXg6LyBzdGF0ZQpyZWdpc3RlcmVkIHN0YXRlIGluc3RhbmNlczoKCkhl cmUgaXMgbXkgZGlmZiBmb3IgdGhlIGR0czoKZGlmZiAtLWdpdCBhL2FyY2gvYXJtL2R0cy9hbTMz NXgtcGh5dGVjLXBoeWNvcmUtc29tLmR0c2kKYi9hcmNoL2FybS9kdHMvYW0zMzV4LXBoeXRlYy1w aHljb3JlLXNvbS5kdHNpCmluZGV4IDBiOGM0NTQuLjBkNzFlOGIgMTAwNjQ0Ci0tLSBhL2FyY2gv YXJtL2R0cy9hbTMzNXgtcGh5dGVjLXBoeWNvcmUtc29tLmR0c2kKKysrIGIvYXJjaC9hcm0vZHRz L2FtMzM1eC1waHl0ZWMtcGh5Y29yZS1zb20uZHRzaQpAQCAtMTQsNiArMTQsMjYgQEAKICAgICAg ICAgICAgICAgICAgICAgICAgc3RhdHVzID0gImRpc2FibGVkIjsKICAgICAgICAgICAgICAgIH07 CiAgICAgICAgfTsKKworICAgICAgIHN0YXRlOiBzdGF0ZUAwIHsKKyAgICAgICAgICAgICAgIG1h Z2ljID0gPDB4MjcwMzE5Nzc+OworICAgICAgICAgICAgICAgY29tcGF0aWJsZSA9ICJiYXJlYm94 LHN0YXRlIjsKKyAgICAgICAgICAgICAgIGJhY2tlbmQtdHlwZSA9ICJyYXciOworICAgICAgICAg ICAgICAgYmFja2VuZCA9IDwmc3RhdGVfcGFydD47CisKKyAgICAgICAgICAgICAgIGZvbyB7Cisg ICAgICAgICAgICAgICAgICAgICByZWcgPSA8MHgwMCAweDQ+OworICAgICAgICAgICAgICAgICAg ICAgdHlwZSA9ICJ1aW50MzIiOworICAgICAgICAgICAgICAgICAgICAgZGVmYXVsdCA9IDwweDA+ OworICAgICAgICAgICAgICAgfTsKKworICAgICAgICAgICAgICAgYmFyIHsKKyAgICAgICAgICAg ICAgICAgICAgIHJlZyA9IDwweDEwIDB4ND47CisgICAgICAgICAgICAgICAgICAgICB0eXBlID0g ImVudW0zMiI7CisgICAgICAgICAgICAgICAgICAgICBuYW1lcyA9ICJiYXoiLCAicXV4IjsKKyAg ICAgICAgICAgICAgICAgICAgIGRlZmF1bHQgPSA8MT47CisgICAgICAgICAgICAgICB9OworICAg ICAgIH07CiB9OwoKICZhbTMzeHhfcGlubXV4IHsKQEAgLTE0OCw2ICsxNjgsMTAgQEAKICAgICAg ICAgICAgICAgIGNvbXBhdGlibGUgPSAiYXRtZWwsMjRjMzIiOwogICAgICAgICAgICAgICAgcGFn ZXNpemUgPSA8MzI+OwogICAgICAgICAgICAgICAgcmVnID0gPDB4NTI+OworICAgICAgICAgICAg ICAgc3RhdGVfcGFydDogc3RhdGVAMTAwMCB7CisgICAgICAgICAgICAgICAgICAgICAgIGxhYmVs ID0gInN0YXRlIjsKKyAgICAgICAgICAgICAgICAgICAgICAgcmVnID0gPDB4MTAwMCAweDEwMDA+ OworICAgICAgICAgICAgICAgfTsKICAgICAgICB9OwogfTsKClNvLCB3aHkgZG9lcyBub3Qgc3Rh dGUgZnJhbWV3b3JrIGNhdGNoIG15IHN0YXRlIGRldmljZT8KClNpbmNlcmVseSwKLS0gCsOHYcSf bGFyIEtpbGltY2kKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fCmJhcmVib3ggbWFpbGluZyBsaXN0CmJhcmVib3hAbGlzdHMuaW5mcmFkZWFkLm9yZwpodHRw Oi8vbGlzdHMuaW5mcmFkZWFkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2JhcmVib3gK