From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WEFUq-0003j9-PJ for barebox@lists.infradead.org; Fri, 14 Feb 2014 09:55:50 +0000 Message-ID: <1392371706.6153.8.camel@weser.hi.pengutronix.de> From: Lucas Stach Date: Fri, 14 Feb 2014 10:55:06 +0100 In-Reply-To: <1392367839-15671-1-git-send-email-poggi.raph@gmail.com> References: <1392367839-15671-1-git-send-email-poggi.raph@gmail.com> 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] ARM: add minimal support for the Freescale Quad UDOO Board To: =?ISO-8859-1?Q?Rapha=EBl?= Poggi Cc: barebox@lists.infradead.org SGkgUmFwaGHDq2wsCgpBbSBGcmVpdGFnLCBkZW4gMTQuMDIuMjAxNCwgMDk6NTAgKzAxMDAgc2No cmllYiBSYXBoYcOrbCBQb2dnaToKPiBGcm9tOiBSYXBoYWVsIFBvZ2dpIDxwb2dnaS5yYXBoQGdt YWlsLmNvbT4KPiAKPiBBZGRpbmcgbWluaW1hbCBzdXBwb3J0IGZvciB0aGUgVURPTyBib2FyZC4K PiAKPiBGb3IgbW9yZSBpbmZvcm1hdGlvbiBhYm91dCB0aGUgYm9hcmQ6IGh0dHA6Ly93d3cudWRv by5vcmcvCj4gCj4gU2lnbmVkLW9mZi1ieTogUmFwaGFlbCBQb2dnaSA8cG9nZ2kucmFwaEBnbWFp bC5jb20+Cj4gLS0tCj4gIGFyY2gvYXJtL2JvYXJkcy9NYWtlZmlsZSAgICAgICAgICAgICAgICAg ICAgICAgICAgfCAgICAxICsKPiAgYXJjaC9hcm0vYm9hcmRzL3Vkb28vTWFrZWZpbGUgICAgICAg ICAgICAgICAgICAgICB8ICAgIDMgKwo+ICBhcmNoL2FybS9ib2FyZHMvdWRvby9ib2FyZC5jICAg ICAgICAgICAgICAgICAgICAgIHwgIDIxNCArKysrKysrKysrKysrKysrKysrKysKPiAgYXJjaC9h cm0vYm9hcmRzL3Vkb28vZW52L2NvbmZpZy1ib2FyZCAgICAgICAgICAgICB8ICAgIDYgKwo+ICBh cmNoL2FybS9ib2FyZHMvdWRvby9mbGFzaC1oZWFkZXItbXg2LXVkb28uaW14Y2ZnIHwgIDEwNCAr KysrKysrKysrCj4gIGFyY2gvYXJtL2JvYXJkcy91ZG9vL2xvd2xldmVsLmMgICAgICAgICAgICAg ICAgICAgfCAgIDE3ICsrCj4gIGFyY2gvYXJtL2NvbmZpZ3MvdWRvb19xdWFkX2RlZmNvbmZpZyAg ICAgICAgICAgICAgfCAgIDg2ICsrKysrKysrKwo+ICBhcmNoL2FybS9kdHMvTWFrZWZpbGUgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgNCArLQo+ICBhcmNoL2FybS9kdHMvaW14NnEt dWRvby5kdHMgICAgICAgICAgICAgICAgICAgICAgIHwgICAyMyArKysKPiAgYXJjaC9hcm0vZHRz L2lteDZxZGwtdWRvby5kdHNpICAgICAgICAgICAgICAgICAgICB8ICAxMDggKysrKysrKysrKysK PiAgYXJjaC9hcm0vbWFjaC1pbXgvS2NvbmZpZyAgICAgICAgICAgICAgICAgICAgICAgICB8ICAg IDUgKwo+ICBhcmNoL2FybS90b29scy9tYWNoLXR5cGVzICAgICAgICAgICAgICAgICAgICAgICAg IHwgICAgMSArCj4gIGltYWdlcy9NYWtlZmlsZS5pbXggICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgfCAgICA1ICsKPiAgMTMgZmlsZXMgY2hhbmdlZCwgNTc2IGluc2VydGlvbnMoKyksIDEg ZGVsZXRpb24oLSkKPiAgY3JlYXRlIG1vZGUgMTAwNjQ0IGFyY2gvYXJ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