From patchwork Tue Dec 10 22:44:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 3320631 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D7C129F37C for ; Tue, 10 Dec 2013 22:45:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08863206F3 for ; Tue, 10 Dec 2013 22:45:25 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 24E1E206EF for ; Tue, 10 Dec 2013 22:45:24 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VqW3G-0003we-Oi; Tue, 10 Dec 2013 22:45:14 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VqW3E-0000BD-8A; Tue, 10 Dec 2013 22:45:12 +0000 Received: from mail-ea0-x230.google.com ([2a00:1450:4013:c01::230]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VqW3B-0000Ak-5o for linux-arm-kernel@lists.infradead.org; Tue, 10 Dec 2013 22:45:09 +0000 Received: by mail-ea0-f176.google.com with SMTP id h14so2512014eaj.21 for ; Tue, 10 Dec 2013 14:44:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=5T9MiXwI13svId7dzxaDf9OrnLgpE1gMANU+9ktXTz8=; b=ZsVdT1AtbpCte1M2pifh7tJI22BeNZEGCXzqThvN6vtEjYSt7PY94Z55Git2+wyojO xlZEumXOAEFlW7UDsCrSD5eQ8O3LouJzPKh7vYNNiWI+WpEN1+XOscyefrd8vuehWDKG 3jyMNbslZYyuZm5hFh01T7bDtlc7et7chgfYpdyqoHmYQC3hBSdYBHAN70F6oQtwMJma 2HDBQYpl2kPsDCD3vXDrwsIB9l4updXLotw6ZDS+mb7kp3a1rUoriwzg3cdlPBKAZ6m2 1Mw2zvvfLOTHjckOW4+0x4u9JzhK8kJGDyREED2V2CZGGW/EeWlWDOO24iJ74ZeZQPGH K4PQ== X-Received: by 10.14.208.199 with SMTP id q47mr15125755eeo.77.1386715487413; Tue, 10 Dec 2013 14:44:47 -0800 (PST) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id p45sm46321117eeg.1.2013.12.10.14.44.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Dec 2013 14:44:46 -0800 (PST) From: Dmitry Eremin-Solenikov To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: debug: move StrongARM debug include to arch/arm/include/debug Date: Wed, 11 Dec 2013 02:44:35 +0400 Message-Id: <1386715475-17966-1-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 1.8.4.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131210_174509_349051_2A7DDD1D X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Russell King X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP StrongARM debug-macro.S is quite standalone thing, depending only on register mappings. Move it to proper place and add Kconfig entry. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/Kconfig.debug | 9 +++++++++ .../include/mach/debug-macro.S => include/debug/sa1100.S} | 0 2 files changed, 9 insertions(+) rename arch/arm/{mach-sa1100/include/mach/debug-macro.S => include/debug/sa1100.S} (100%) diff --git a/arch/arm/mach-sa1100/include/mach/debug-macro.S b/arch/arm/include/debug/sa1100.S similarity index 100% rename from arch/arm/mach-sa1100/include/mach/debug-macro.S rename to arch/arm/include/debug/sa1100.S diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 9762c84..55ae5cf 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -493,6 +493,14 @@ choice Say Y here if you want kernel low-level debugging support on PXA UART1. + config DEBUG_SA1100 + depends on ARCH_SA1100 + bool "Use SA1100 UARTs for low-level debug" + help + Say Y here if you want kernel low-level debugging support + on SA-11x0 UART ports. The kernel will check for the first + enabled UART in a sequence 3-1-2. + config DEBUG_REALVIEW_STD_PORT bool "RealView Default UART" depends on ARCH_REALVIEW @@ -882,6 +890,7 @@ config DEBUG_STI_UART config DEBUG_LL_INCLUDE string + default "debug/sa1100.S" if DEBUG_SA1100 default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250 default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X default "debug/exynos.S" if DEBUG_EXYNOS_UART