From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-io0-x243.google.com ([2607:f8b0:4001:c06::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fDvqR-0004bn-E0 for barebox@lists.infradead.org; Wed, 02 May 2018 17:47:15 +0000 Received: by mail-io0-x243.google.com with SMTP id g1-v6so9131423iob.2 for ; Wed, 02 May 2018 10:47:00 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1525272153.17782.15.camel@pengutronix.de> References: <20180421010538.16488-1-andrew.smirnov@gmail.com> <20180421010538.16488-4-andrew.smirnov@gmail.com> <1525272153.17782.15.camel@pengutronix.de> From: Andrey Smirnov Date: Wed, 2 May 2018 10:46:59 -0700 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: [PATCH v2 03/10] ARM: i.MX6: Record reset reason as a part of startup To: =?UTF-8?Q?Jan_L=C3=BCbbe?= Cc: Barebox List T24gV2VkLCBNYXkgMiwgMjAxOCBhdCA3OjQyIEFNLCBKYW4gTMO8YmJlIDxqbHVAcGVuZ3V0cm9u aXguZGU+IHdyb3RlOgo+IFRoZXJlIGlzIGFscmVhZHkgY29kZSBpbiBkcml2ZXJzL3dhdGNoZG9n L2lteHdkLmMgdG8gaGFuZGxlIHRoaXMuIElzCj4gdGhhdCBvYnNvbGV0ZSBub3c/Cj4KCkFGQUlL LCB3YXRjaGRvZyBJUCBibG9jayBkb2Vzbid0IGhhdmUgYXMgcHJlY2lzZSBpbmZvcm1hdGlvbiBh Ym91dApyZXNldCBzb3VyY2UgYXMgU1JTUiByZWdpc3RlciBvbiBpLk1YIFNvQ3MgdGhhdCBoYXZl IHRoZSBsYXR0ZXIuClRoZXJlLCB0aGlzIGNvZGUgc3VwZXJzZWRlcyBpbXh3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ICAgICAgICAgICAgICAgICAgICAgICAgICAgfAo+IEluZHVzdHJpYWwgTGludXggU29s dXRpb25zICAgICAgICAgICAgICAgICB8IGh0dHA6Ly93d3cucGVuZ3V0cm9uaXguZGUvICB8Cj4g UGVpbmVyIFN0ci4gNi04LCAzMTEzNyBIaWxkZXNoZWltLCBHZXJtYW55IHwgUGhvbmU6ICs0OS01 MTIxLTIwNjkxNy0wICAgIHwKPiBBbXRzZ2VyaWNodCBIaWxkZXNoZWltLCBIUkEgMjY4NiAgICAg ICAgICAgfCBGYXg6ICAgKzQ5LTUxMjEtMjA2OTE3LTU1NTUgfAoKX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18KYmFyZWJveCBtYWlsaW5nIGxpc3QKYmFyZWJv eEBsaXN0cy5pbmZyYWRlYWQub3JnCmh0dHA6Ly9saXN0cy5pbmZyYWRlYWQub3JnL21haWxtYW4v bGlzdGluZm8vYmFyZWJveAo=