From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dZekz-0003S4-5P for barebox@lists.infradead.org; Mon, 24 Jul 2017 14:54:52 +0000 Received: by mail-pg0-x243.google.com with SMTP id y129so11960794pgy.3 for ; Mon, 24 Jul 2017 07:54:31 -0700 (PDT) From: Andrey Smirnov Date: Mon, 24 Jul 2017 07:53:56 -0700 Message-Id: <20170724145400.2279-6-andrew.smirnov@gmail.com> In-Reply-To: <20170724145400.2279-1-andrew.smirnov@gmail.com> References: <20170724145400.2279-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 5/9] ARM: i.MX: Add imx7_uart_setup_ll() To: barebox@lists.infradead.org Cc: Andrey Smirnov Add imx7_uart_setup_ll() for setting up UART selected for DEBUG_LL. Signed-off-by: Andrey Smirnov --- arch/arm/mach-imx/include/mach/debug_ll.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-imx/include/mach/debug_ll.h b/arch/arm/mach-imx/include/mach/debug_ll.h index 39d710f7d..b7c0690d8 100644 --- a/arch/arm/mach-imx/include/mach/debug_ll.h +++ b/arch/arm/mach-imx/include/mach/debug_ll.h @@ -81,6 +81,13 @@ static inline void imx6_uart_setup_ll(void) imx6_uart_setup(base); } +static inline void imx7_uart_setup_ll(void) +{ + void *base = IOMEM(IMX_UART_BASE(IMX_DEBUG_SOC, CONFIG_DEBUG_IMX_UART_PORT)); + + imx7_uart_setup(base); +} + static inline void vf610_uart_setup_ll(void) { void *base = IOMEM(IMX_UART_BASE(IMX_DEBUG_SOC, CONFIG_DEBUG_IMX_UART_PORT)); -- 2.13.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox