From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?UTF-8?q?Ulrich=20=C3=96lmann?= Date: Sun, 3 Feb 2019 22:48:00 +0100 Message-Id: <20190203214807.13643-6-u.oelmann@pengutronix.de> In-Reply-To: <20190203214807.13643-1-u.oelmann@pengutronix.de> References: <20190203214807.13643-1-u.oelmann@pengutronix.de> MIME-Version: 1.0 Subject: [OSS-Tools] [PATCH dt-utils 05/12] barebox-state: add cmdline option "--version" List-Id: Pengutronix Public Open-Source-Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: oss-tools-bounces@pengutronix.de Sender: "OSS-Tools" To: Pengutronix Public Open-Source-Development Cc: =?UTF-8?q?Ulrich=20=C3=96lmann?= , entwicklung@pengutronix.de U2lnbmVkLW9mZi1ieTogVWxyaWNoIMOWbG1hbm4gPHUub2VsbWFubkBwZW5ndXRyb25peC5kZT4K LS0tCiBzcmMvYmFyZWJveC1zdGF0ZS5jIHwgNiArKysrKysKIDEgZmlsZSBjaGFuZ2VkLCA2IGlu c2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9zcmMvYmFyZWJveC1zdGF0ZS5jIGIvc3JjL2JhcmVi b3gtc3RhdGUuYwppbmRleCAwZjQwMDQ0YmMyYzYuLjRlMDg3YjlkNjNiZiAxMDA2NDQKLS0tIGEv c3JjL2JhcmVib3gtc3RhdGUuYworKysgYi9zcmMvYmFyZWJveC1zdGF0ZS5jCkBAIC0zNjYsNiAr MzY2LDcgQEAgc3RydWN0IHN0YXRlICpzdGF0ZV9nZXQoY29uc3QgY2hhciAqbmFtZSwgYm9vbCBy ZWFkb25seSwgYm9vbCBhdXRoKQogCiBlbnVtIG9wdCB7CiAJT1BUX0RVTVBfU0hFTEwgPSBVQ0hB Ul9NQVggKyAxLAorCU9QVF9WRVJTSU9OICAgID0gVUNIQVJfTUFYICsgMiwKIH07CiAKIHN0YXRp YyBzdHJ1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gorCQkJcHJpbnRmKFBBQ0tBR0VfU1RSSU5HICJc biIpOworCQkJZXhpdCgwKTsKIAkJY2FzZSAnZyc6CiAJCQlzZyA9IHh6YWxsb2Moc2l6ZW9mKCpz ZykpOwogCQkJc2ctPmdldCA9IDE7Ci0tIAoyLjIwLjEKCgpfX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fXwpPU1MtVG9vbHMgbWFpbGluZyBsaXN0Ck9TUy1Ub29s c0BwZW5ndXRyb25peC5kZQ==