[PATCH 09/12] ARM: i.MX53 Vincell: Add PBL console support

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 4 02:27:36 PDT 2016


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/boards/guf-vincell/lowlevel.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boards/guf-vincell/lowlevel.c b/arch/arm/boards/guf-vincell/lowlevel.c
index a72eaf8..f4bd44e 100644
--- a/arch/arm/boards/guf-vincell/lowlevel.c
+++ b/arch/arm/boards/guf-vincell/lowlevel.c
@@ -137,12 +137,11 @@ static noinline void imx53_guf_vincell_init(void *fdt)
 
 	imx53_init_lowlevel_early(800);
 
-	if (IS_ENABLED(CONFIG_DEBUG_LL)) {
-		writel(0x3, MX53_IOMUXC_BASE_ADDR + 0x27c);
-		writel(0x3, MX53_IOMUXC_BASE_ADDR + 0x278);
-		imx53_uart_setup_ll();
-		putc_ll('>');
-	}
+	writel(0x3, MX53_IOMUXC_BASE_ADDR + 0x27c);
+	writel(0x3, MX53_IOMUXC_BASE_ADDR + 0x278);
+	imx53_uart_setup(IOMEM(MX53_UART4_BASE_ADDR));
+	putc_ll('>');
+	pbl_set_putc(imx_uart_putc, (void *)MX53_UART4_BASE_ADDR);
 
 	/* Skip SDRAM initialization if we run from RAM */
 	r = get_pc();
-- 
2.8.1




More information about the barebox mailing list