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:47:58 +0100 Message-Id: <20190203214807.13643-4-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 03/12] barebox-state: fix usage of multiple state instances 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 TGV0J3MgYXNzdW1lIHRoZXJlIGFyZSB0d28gc3RhdGUgaW5zdGFuY2VzIG5hbWVkICJibHVlIiAo d2l0aCB2YXJpYWJsZSAieCIpIGFuZAoieWVsbG93IiAod2l0aCB2YXJpYWJsZSAieSIpIHRoZW4K CiAgJCBiYXJlYm94LXN0YXRlIC0tbmFtZSBibHVlIC0tZ2V0IHgKICAkIGJhcmVib3gtc3RhdGUg LS1uYW1lIHllbGxvdyAtLWdldCB5Cgp3b3VsZCBib3RoIHdvcmssIHdoZXJlYXMgb25seSBleGFj dGx5IG9uZSBvZiB0aGUgYWx0ZXJuYXRpdmUgY2FsbHMKCiAgJCBiYXJlYm94LXN0YXRlIC0tZ2V0 IGJsdWUueAogICQgYmFyZWJveC1zdGF0ZSAtLWdldCB5ZWxsb3cueQoKd291bGQgc3VjY2VlZC4g VGhpcyBjb21taXQgZml4ZXMgdGhhdCBidWcuCgpTaWduZWQtb2ZmLWJ5OiBVbHJpY2ggw5ZsbWFu biA8dS5vZWxtYW5uQHBlbmd1dHJvbml4LmRlPgotLS0KIHNyYy9iYXJlYm94LXN0YXRlLmMgfCAz ICsrLQogMSB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