Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1655710

[PATCH v4 6/6] ARM: at91: debug: add samv7x support

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v4 6/6] ARM: at91: debug: add samv7x support
Date 2017-06-01 22:10 +0200
Message-ID <tNEzU-7oF-15@gated-at.bofh.it> (permalink)
References <tNEzT-7oF-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Szemző András <sza@esh.hu>

Add support for low level debugging on Atmel samv7x.

Signed-off-by: Szemző András <sza@esh.hu>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/Kconfig.debug | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 426d2716f55d..e10fb1842b1d 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -145,6 +145,15 @@ choice
 		  Say Y here if you want kernel low-level debugging support
 		  on the USART3 port of sama5d4.
 
+	config DEBUG_AT91_SAMV7_USART1
+		bool "Kernel low-level debugging via SAMV7 USART1"
+		select DEBUG_AT91_UART
+		depends on SOC_SAMV7
+		help
+		  Say Y here if you want the debug print routines to direct
+		  their output to the USART1 port on SAMV7 based
+		  machines.
+
 	config DEBUG_BCM2835
 		bool "Kernel low-level debugging on BCM2835 PL011 UART"
 		depends on ARCH_BCM2835 && ARCH_MULTI_V6
@@ -1481,6 +1490,7 @@ config DEBUG_UART_PHYS
 	default 0x3f201000 if DEBUG_BCM2836
 	default 0x3e000000 if DEBUG_BCM_KONA_UART
 	default 0x4000e400 if DEBUG_LL_UART_EFM32
+	default 0x40028000 if DEBUG_AT91_SAMV7_USART1
 	default 0x40081000 if DEBUG_LPC18XX_UART0
 	default 0x40090000 if DEBUG_LPC32XX
 	default 0x40100000 if DEBUG_PXA_UART1
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/6] ARM: at91: initial samx7 support Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-01 22:10 +0200
  [PATCH v4 3/6] ARM: at91: Add armv7m support Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-01 22:10 +0200
  [PATCH v4 4/6] ARM: at91: handle CONFIG_PM for armv7m configurations Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-01 22:10 +0200
  [PATCH v4 5/6] ARM: at91: add armv7m SoC detection Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-01 22:10 +0200
  [PATCH v4 6/6] ARM: at91: debug: add samv7x support Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-01 22:10 +0200
  [PATCH v4 1/6] ARM: at91: Documentation: add armv7m families Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-01 22:10 +0200
  [PATCH v4 2/6] ARM: at91: Document armv7m compatibles Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-01 22:10 +0200
  Re: [PATCH v4 0/6] ARM: at91: initial samx7 support Nicolas Ferre <nicolas.ferre@microchip.com> - 2017-06-02 09:30 +0200

csiph-web