summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-12-18 15:22:39 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-12-20 11:43:10 +0100
commit763487a40c4c8a3369e8fd4da7fe0d2e428dcd12 (patch)
treee1195ca3709d657c6cbe4d1ebe1071a4dbfd40ed /arch
parent4746717a5d3b9ef77810706bf27dcd71038356dd (diff)
downloadbarebox-763487a40c4c8a3369e8fd4da7fe0d2e428dcd12.tar.gz
barebox-763487a40c4c8a3369e8fd4da7fe0d2e428dcd12.tar.xz
arm: omap: am33xx: add support for low level debug
Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap/include/mach/debug_ll.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/include/mach/debug_ll.h b/arch/arm/mach-omap/include/mach/debug_ll.h
index b2714c5aee..142f01a81e 100644
--- a/arch/arm/mach-omap/include/mach/debug_ll.h
+++ b/arch/arm/mach-omap/include/mach/debug_ll.h
@@ -35,6 +35,11 @@
#define UART_BASE OMAP44XX_UART3_BASE
#endif
+#ifdef CONFIG_ARCH_AM33XX
+#include <mach/am33xx-silicon.h>
+#define UART_BASE AM33XX_UART0_BASE
+#endif
+
#define LSR_THRE 0x20 /* Xmit holding register empty */
#define LSR (5 << 2)
#define THR (0 << 2)