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 1VlLmR-0000cf-83 for barebox@lists.infradead.org; Tue, 26 Nov 2013 16:46:33 +0000 From: Sascha Hauer Date: Tue, 26 Nov 2013 17:45:55 +0100 Message-Id: <1385484367-15366-6-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1385484367-15366-1-git-send-email-s.hauer@pengutronix.de> References: <1385484367-15366-1-git-send-email-s.hauer@pengutronix.de> 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 05/17] ARM: am33xx Phytec phyCORE: initialize debug UART To: barebox@lists.infradead.org Add debug UART initialization to lowlevel init and print a '>'. Helps debugging lowlevel code. Signed-off-by: Sascha Hauer --- arch/arm/boards/pcm051/lowlevel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boards/pcm051/lowlevel.c b/arch/arm/boards/pcm051/lowlevel.c index ded108e..08f36ec 100644 --- a/arch/arm/boards/pcm051/lowlevel.c +++ b/arch/arm/boards/pcm051/lowlevel.c @@ -13,6 +13,7 @@ #include #include #include +#include static const struct am33xx_cmd_control MT41J256M8HX15E_2x256M8_cmd = { .slave_ratio0 = 0x40, @@ -76,6 +77,8 @@ static int pcm051_board_init(void) am33xx_uart0_soft_reset(); am33xx_enable_uart0_pin_mux(); + omap_uart_lowlevel_init((void *)AM33XX_UART0_BASE); + putc_ll('>'); return 0; } -- 1.8.4.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox