Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758921AbcJTJls (ORCPT ); Thu, 20 Oct 2016 05:41:48 -0400 Received: from up.free-electrons.com ([163.172.77.33]:54085 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758835AbcJTJlp (ORCPT ); Thu, 20 Oct 2016 05:41:45 -0400 From: Alexandre Belloni To: Nicolas Ferre Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Szemz=C5=91=20Andr=C3=A1s?= , Alexandre Belloni Subject: [PATCH v2 6/6] ARM: at91: debug: add samx7 support Date: Thu, 20 Oct 2016 11:41:35 +0200 Message-Id: <20161020094135.18221-7-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161020094135.18221-1-alexandre.belloni@free-electrons.com> References: <20161020094135.18221-1-alexandre.belloni@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1326 Lines: 40 From: Szemző András Add support for low level debugging on Atmel samx7. Signed-off-by: Szemző András Signed-off-by: Alexandre Belloni --- arch/arm/Kconfig.debug | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index d83f7c369e51..219e65c85289 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_SAMX7_USART1 + bool "Kernel low-level debugging via SAMX7 USART1" + select DEBUG_AT91_UART + depends on SOC_SAMX7 + help + Say Y here if you want the debug print routines to direct + their output to the USART1 port on SAMX7 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_SAMX7_USART1 default 0x40081000 if DEBUG_LPC18XX_UART0 default 0x40090000 if DEBUG_LPC32XX default 0x40100000 if DEBUG_PXA_UART1 -- 2.9.3