summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/debug
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2015-07-30 19:12:12 +0200
committerOlof Johansson <olof@lixom.net>2015-08-05 10:40:21 +0200
commitc268a743103aebba8d81d3365107f7170653099e (patch)
tree57222dbf105402261ac9a04cf5fd5a897578d11c /arch/arm/include/debug
parentf15107f41282d5ae9c6c26832dcc485729821ccc (diff)
downloadtalos-obmc-linux-c268a743103aebba8d81d3365107f7170653099e.tar.gz
talos-obmc-linux-c268a743103aebba8d81d3365107f7170653099e.zip
ARM: at91/soc: add basic support for new sama5d2 SoC
Add Kconfig entries, header file changes and addition to the documentation. The early debug infrastructure is also added for easy development. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/include/debug')
-rw-r--r--arch/arm/include/debug/at91.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/include/debug/at91.S b/arch/arm/include/debug/at91.S
index c3c45e628e33..2556a8801c8c 100644
--- a/arch/arm/include/debug/at91.S
+++ b/arch/arm/include/debug/at91.S
@@ -13,9 +13,12 @@
#define AT91_DBGU 0xfffff200 /* AT91_BASE_DBGU0 */
#elif defined(CONFIG_AT91_DEBUG_LL_DBGU1)
#define AT91_DBGU 0xffffee00 /* AT91_BASE_DBGU1 */
-#else
+#elif defined(CONFIG_AT91_DEBUG_LL_DBGU2)
/* On sama5d4, use USART3 as low level serial console */
#define AT91_DBGU 0xfc00c000 /* SAMA5D4_BASE_USART3 */
+#else
+/* On sama5d2, use UART1 as low level serial console */
+#define AT91_DBGU 0xf8020000
#endif
#ifdef CONFIG_MMU
OpenPOWER on IntegriCloud