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 1ft1MV-0005Zb-Pp for barebox@lists.infradead.org; Fri, 24 Aug 2018 01:58:09 +0000 Received: by mail-io0-x243.google.com with SMTP id q5-v6so2708713iop.3 for ; Thu, 23 Aug 2018 18:57:56 -0700 (PDT) MIME-Version: 1.0 References: <20180823095820.32590-1-florian.baeuerle@allegion.com> In-Reply-To: <20180823095820.32590-1-florian.baeuerle@allegion.com> From: Andrey Smirnov Date: Thu, 23 Aug 2018 18:57:44 -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] ARM: phytec-phycard-imx27: Add debug UART support To: florian.baeuerle@allegion.com Cc: Barebox List T24gVGh1LCBBdWcgMjMsIDIwMTggYXQgMjo1OSBBTSBGbG9yaWFuIELDpHVlcmxlCjxmbG9yaWFu LmJhZXVlcmxlQGFsbGVnaW9uLmNvbT4gd3JvdGU6Cj4KPiBTaWduZWQtb2ZmLWJ5OiBGbG9yaWFu IELDpHVlcmxlIDxmbG9yaWFuLmJhZXVlcmxlQGFsbGVnaW9uLmNvbT4KPiAtLS0KPiAgYXJjaC9h cm0vYm9hcmRzL3BoeXRlYy1waHljYXJkLWlteDI3L2xvd2xldmVsLmMgfCAxNSArKysrKysrKysr KysrKysKPiAgYXJjaC9hcm0vbWFjaC1pbXgvaW5jbHVkZS9tYWNoL2RlYnVnX2xsLmggICAgICAg fCAxMyArKysrKysrKysrKysrCj4gIGluY2x1ZGUvc2VyaWFsL2lteC11YXJ0LmggICAgICAgICAg ICAgICAgICAgICAgIHwgIDUgKysrKysKPiAgMyBmaWxlcyBjaGFuZ2VkLCAz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