From patchwork Tue Nov 20 22:48:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 1776511 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 9E4FEDFF38 for ; Tue, 20 Nov 2012 22:51:25 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TawdN-0003G3-OZ; Tue, 20 Nov 2012 22:49:37 +0000 Received: from mail-vc0-f201.google.com ([209.85.220.201]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TawdJ-0003EX-8O for linux-arm-kernel@lists.infradead.org; Tue, 20 Nov 2012 22:49:34 +0000 Received: by mail-vc0-f201.google.com with SMTP id p1so88943vcq.0 for ; Tue, 20 Nov 2012 14:49:31 -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:x-gm-message-state; bh=1v1mi2WXZz0omzcg4Buv9rMUtAwt0Jwu4ciXJCgI+5U=; b=Nns4F+MWvtfGyPzNYSpwhEZA7xNIIP0IZQhJ0xk1xgd+B4tlgJp6UT+ihUO36DYUFI z+MeLjjGnKPpQnDqUgRqXM8eknOp7n0hdcSE2E1rw3vix9kDqMKUCFcylMFEI/8uvWD9 2hUhs5QH6FtlGM5mZnRHBoeyAA2mjaaWEwGA7yGj3TRCp60BDiCB5Rx65g7IMCpvlLDe vyDTU+mRiOxYQi64cKSHErHPqi43ivn1Ra9F/c67ebp6JMTg6Za8JzrMQgAz6Oz/svQl 9vQHAyv6WI6W54v+fy9JbZNoT/7lzP0CeA9Tw0caB8Aq3SevP40Qk4dE+kxCI6TFbmeA MGEQ== Received: by 10.236.81.107 with SMTP id l71mr13570627yhe.18.1353451771245; Tue, 20 Nov 2012 14:49:31 -0800 (PST) Received: from wpzn4.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id i27si1083998yhb.0.2012.11.20.14.49.31 (version=TLSv1/SSLv3 cipher=AES128-SHA); Tue, 20 Nov 2012 14:49:31 -0800 (PST) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.73.80]) by wpzn4.hot.corp.google.com (Postfix) with ESMTP id 2553482004A; Tue, 20 Nov 2012 14:49:31 -0800 (PST) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id B584A80496; Tue, 20 Nov 2012 14:49:30 -0800 (PST) From: Doug Anderson To: linux-samsung-soc@vger.kernel.org Subject: [PATCH] ARM: exynos: add UART3 to DEBUG_LL ports Date: Tue, 20 Nov 2012 14:48:58 -0800 Message-Id: <1353451739-6317-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 1.7.7.3 X-Gm-Message-State: ALoCoQmZqSFaHRJUwtv8y4Y3EqBWF+vb36FirsVQmfIA8dTrwdfTDEpkhVAH0wcRgAV8HQ1hyhSoMmVMRffXqascuaNxT9quIr92rsxV2jPA2H/iAjc0CCjGURMevz1SMcHr8+WET5W/LjIQVs7tG1Wb6zYir2Bo86MoxAQS87SFY/jAt/j1Tliv5EyD/z2W7SA5tCTgeAhYHzDOl9AhFxR1/C/GY/JclA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121120_174933_429496_EBD7361B X-CRM114-Status: GOOD ( 11.29 ) 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.220.201 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: Kukjin Kim , Russell King , Doug Anderson , linux-kernel@vger.kernel.org, Thomas Abraham , Ben Dooks , Olof Johansson , 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 UART3 is used for debugging on exynos5250-snow. [dianders: cleaned commit message.] Signed-off-by: Olof Johansson Signed-off-by: Doug Anderson --- 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..35ba7dc 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 + 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