]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: at91: debug: add samv7x support
authorSzemző András <sza@esh.hu>
Wed, 31 May 2017 01:06:24 +0000 (03:06 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 2 Jun 2017 08:11:55 +0000 (10:11 +0200)
Add support for low level debugging on Atmel samv7x.

Signed-off-by: Szemző András <sza@esh.hu>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/Kconfig.debug

index 426d2716f55d37603de6b2eab2114a19af625418..e10fb1842b1d98a229731bdf0236d2089df16b52 100644 (file)
@@ -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