From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phytec.co.uk ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XX785-0000m0-22 for barebox@lists.infradead.org; Thu, 25 Sep 2014 11:22:34 +0000 Message-ID: <1411644123.5887.28.camel@lws-gamez.phytec.de> From: Teresa Gamez Date: Thu, 25 Sep 2014 13:22:03 +0200 In-Reply-To: <20140925060732.GE4992@pengutronix.de> References: <1411551191-27938-1-git-send-email-t.gamez@phytec.de> <1411551191-27938-2-git-send-email-t.gamez@phytec.de> <20140925060732.GE4992@pengutronix.de> Mime-Version: 1.0 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 2/2] commands: add of_display_timings To: Sascha Hauer Cc: barebox@lists.infradead.org SGVsbG8gU2FzY2hhLAoKQW0gRG9ubmVyc3RhZywgZGVuIDI1LjA5LjIwMTQsIDA4OjA3ICswMjAw IHNjaHJpZWIgU2FzY2hhIEhhdWVyOgo+IEhpIFRlcmVzYSwKPiAKPiBPbiBXZWQsIFNlcCAyNCwg MjAxNCBhdCAxMTozMzoxMUFNICswMjAwLCBUZXJlc2EgR8OhbWV6IHdyb3RlOgo+ID4gQSBsb3Qg b2YgYm9hcmRzIHVzZSBkaXNwbGF5LXRpbWluZ3Mgbm9kZXMgdG8gZGVmaW5lIHRoZSB0aW1pbmdz IG9mIG9uZSBvciBtb3JlCj4gPiBkaXNwbGF5cy4gVGhpcyBjb21tYW5kIG1ha2VzIGl0IHBvc3Np YmxlIHRvIGxpc3QgYW5kIHNlbGVjdCBkaXNwbGF5cyB3aGljaCBhcmUKPiA+IGRlZmluZWQgaW4g YSBkZXZpY2UgdHJlZS4KPiAKPiBOaWNlIGlkZWEuCj4gCj4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