From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-by2nam03on0112.outbound.protection.outlook.com ([104.47.42.112] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzHCZ-0005QG-Uw for barebox@lists.infradead.org; Mon, 10 Sep 2018 08:05:47 +0000 From: =?UTF-8?q?Florian=20B=C3=A4uerle?= Date: Mon, 10 Sep 2018 10:05:12 +0200 Message-Id: <20180910080512.29593-1-florian.baeuerle@allegion.com> In-Reply-To: <94166a222e1d97e56a93eea02e419ea8adf86502.camel@allegion.com> References: <94166a222e1d97e56a93eea02e419ea8adf86502.camel@allegion.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: [PATCH v2] ARM: phytec-phycard-imx27: Add debug UART support To: barebox@lists.infradead.org U2lnbmVkLW9mZi1ieTogRmxvcmlhbiBCw6R1ZXJsZSA8Zmxvcmlhbi5iYWV1ZXJsZUBhbGxlZ2lv bi5jb20+Ci0tLQogYXJjaC9hcm0vYm9hcmRzL3BoeXRlYy1waHljYXJkLWlteDI3L2xvd2xldmVs LmMgfCAxNiArKysrKysrKysrKysrKysrCiBhcmNoL2FybS9tYWNoLWlteC9pbmNsdWRlL21hY2gv ZGVidWdfbGwuaCAgICAgICB8IDEzICsrKysrKysrKysrKysKIGluY2x1ZGUvc2VyaWFsL2lteC11 YXJ0LmggICAgICAgICAgICAgICAgICAgICAgIHwgIDUgKysrKysKIDMgZmlsZXMgY2hhbmdlZCwg MzQgaW5zZXJ0aW9ucygrKQoKZGlmZiAtLWdpdCBhL2FyY2gvYXJtL2JvYXJkcy9waHl0ZWMtcGh5 Y2FyZC1pbXgyNy9sb3dsZXZlbC5jIGIvYXJjaC9hcm0vY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