summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-11-25 10:49:15 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-27 10:43:16 +0100
commita5261a49288f8b256d2d0d0fc3b2cd16f25343cf (patch)
treef4504395529aa1964c8f82fff3fd62f1291d8e00
parent7042ec870d2aad3867f96e762336ade8c77d8cec (diff)
downloadbarebox-a5261a49288f8b256d2d0d0fc3b2cd16f25343cf.tar.gz
ARM: am33xx Phytec phyCORE: initialize debug UART
Add debug UART initialization to lowlevel init and print a '>'. Helps debugging lowlevel code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/boards/pcm051/lowlevel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boards/pcm051/lowlevel.c b/arch/arm/boards/pcm051/lowlevel.c
index ded108e333..08f36ecb18 100644
--- a/arch/arm/boards/pcm051/lowlevel.c
+++ b/arch/arm/boards/pcm051/lowlevel.c
@@ -13,6 +13,7 @@
#include <mach/am33xx-mux.h>
#include <mach/am33xx-generic.h>
#include <mach/wdt.h>
+#include <debug_ll.h>
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;
}