From patchwork Wed Nov 21 16:54:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 1781711 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id EDA953FC5A for ; Wed, 21 Nov 2012 17:00:52 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TbDdX-00017p-Ir; Wed, 21 Nov 2012 16:58:55 +0000 Received: from mail-fa0-f73.google.com ([209.85.161.73]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TbDdH-00014K-EZ for linux-arm-kernel@lists.infradead.org; Wed, 21 Nov 2012 16:58:40 +0000 Received: by mail-fa0-f73.google.com with SMTP id v1so38594fav.0 for ; Wed, 21 Nov 2012 08:58:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=emBEO4z41ynepbGshnXsVmHKqRhgmMXILw5SkoqEK1I=; b=ntj39nSP353ZvgsZtVbex0I2Ay9RnWNVF1xy2gUaiPxlI6FTMgGExVaSpKLkM2B00X 3tMvZRwOGHlVpyFih1sUTMqX4HvQH8flG48ydz0IBWPYZJYi62icaajtTmS/1HviQfXA Y/l2Zg2TBcDaDVytq8Ngmu2JXpEmQ/CJbWzEzKQq9bGStYpZY1NbaBlSqaElWKJZIn/J c+tW2OCudNEG8eB14QfG9dHoiLaB/2m1G/rqcvi4dkijD4Ngh9K/URp7RNXCwZxepDCK OCYgWOvrb40MZpxV5MfNx17/mBdox63gKkXFbKT9NaR9tFnh7NGar/NmGkipIK2Pz1hM hdOw== Received: by 10.14.216.197 with SMTP id g45mr17328516eep.3.1353517115440; Wed, 21 Nov 2012 08:58:35 -0800 (PST) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id z47si198423eel.0.2012.11.21.08.58.35 (version=TLSv1/SSLv3 cipher=AES128-SHA); Wed, 21 Nov 2012 08:58:35 -0800 (PST) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.73.80]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id 15DAE200373; Wed, 21 Nov 2012 08:58:35 -0800 (PST) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id 5D49380551; Wed, 21 Nov 2012 08:58:34 -0800 (PST) From: Doug Anderson To: linux-samsung-soc@vger.kernel.org, Kukjin Kim , Olof Johansson Subject: [PATCH v2] ARM: exynos: add UART3 to DEBUG_LL ports Date: Wed, 21 Nov 2012 08:54:25 -0800 Message-Id: <1353516865-2502-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1353451739-6317-1-git-send-email-dianders@chromium.org> References: <1353451739-6317-1-git-send-email-dianders@chromium.org> X-Gm-Message-State: ALoCoQkTlkCuBsB6DgGOrEqHiqcCzwpoqdCP0rHnrF4aiRdUqnNuG9vjtg3RtlZ8GlWLBvAUOKRXtJvz+esUQsYIgV3vsDA5ncXoccZ12DJtVHBDH8I4yWZYCT9SjPA/W+crl4hkI1qyNnvgSO9tMCcfWQ4VHokxjM2SUQH6IDrgA0qsbH8b1gBUqsg7r7UimxBFYjTl8tj/dfjc4/96VH1WOC1WZbXHnw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121121_115839_676001_0C0954A0 X-CRM114-Status: GOOD ( 12.68 ) X-Spam-Score: -3.3 (---) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-3.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.161.73 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Russell King , Doug Anderson , linux-kernel@vger.kernel.org, Thomas Abraham , Ben Dooks , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Olof Johansson Add support for using UART3 for DEBUG_LL on exynos. [dianders: added depend on ARCH_EXYNOS.] Signed-off-by: Olof Johansson Signed-off-by: Doug Anderson --- Changes in v2: - Matched Olof's commit message. - Added ARCH_EXYNOS to depend list. arch/arm/Kconfig.debug | 11 +++++++++++ arch/arm/plat-samsung/Kconfig | 1 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 33a8930..f54f170 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -355,6 +355,17 @@ choice The uncompressor code port configuration is now handled by CONFIG_S3C_LOWLEVEL_UART_PORT. + config DEBUG_S3C_UART3 + depends on PLAT_SAMSUNG && ARCH_EXYNOS + bool "Use S3C UART 3 for low-level debug" + help + Say Y here if you want the debug print routines to direct + their output to UART 3. The port must have been initialised + by the boot-loader before use. + + The uncompressor code port configuration is now handled + by CONFIG_S3C_LOWLEVEL_UART_PORT. + config DEBUG_SOCFPGA_UART depends on ARCH_SOCFPGA bool "Use SOCFPGA UART for low-level debug" diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 59401e1..d342ed0 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig @@ -502,5 +502,6 @@ config DEBUG_S3C_UART default "0" if DEBUG_S3C_UART0 default "1" if DEBUG_S3C_UART1 default "2" if DEBUG_S3C_UART2 + default "3" if DEBUG_S3C_UART3 endif