From patchwork Fri Apr 4 15:41:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 27845 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 777EA20490 for ; Fri, 4 Apr 2014 15:42:12 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wn1sf11029094obc.5 for ; Fri, 04 Apr 2014 08:42:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=AEDLeuZV3rzCmYvV7puqdRfo9o39fS96bb2cm7KSME0=; b=Csz77ViG54plUKMQgy2ewHzWODIt1As/5eSZ1+0CEPdnFdFWNB0rNDlyD1LclGFoUi xS2DWioBVxHPXinUxrRTk5DudybMVMcglV48UiYWQTeNFYumkJUzxPych280s7/XjpZB OJYf4GHdGdfJU6q+8uDj+jjEyDs+SDkTNI/Op0o1aUssnCgVrqP+dMrnU2hBiOFb5AIG CaF/vpEa/CSswX5UaNYdMVknMdO2/mH41+syx86GDxHw4Ky4Xhnp7+rkw/uole/oIh0F n2iwKDDikM5aoGFKtodNIr4N2WHycq04adQPeq5HLZiZ8P+nQEhQw4y+9K8NIk2rvvKq 1vYQ== X-Gm-Message-State: ALoCoQl6Hf7nyuK+YaMn6kFsqYltL6B2PEcOyK35gpFusn9Z+cOFVepFbRff7JIMmCmWBSiUzF9N X-Received: by 10.43.163.199 with SMTP id mp7mr7489502icc.6.1396626131928; Fri, 04 Apr 2014 08:42:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.163 with SMTP id a32ls1041190qgf.73.gmail; Fri, 04 Apr 2014 08:42:11 -0700 (PDT) X-Received: by 10.58.22.38 with SMTP id a6mr53788vef.58.1396626131832; Fri, 04 Apr 2014 08:42:11 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id f7si1811182vcz.165.2014.04.04.08.42.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 08:42:11 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id lf12so3223821vcb.39 for ; Fri, 04 Apr 2014 08:42:11 -0700 (PDT) X-Received: by 10.58.201.5 with SMTP id jw5mr5365067vec.6.1396626131666; Fri, 04 Apr 2014 08:42:11 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.12.8 with SMTP id v8csp124154vcv; Fri, 4 Apr 2014 08:42:11 -0700 (PDT) X-Received: by 10.180.91.114 with SMTP id cd18mr5638738wib.28.1396626130590; Fri, 04 Apr 2014 08:42:10 -0700 (PDT) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by mx.google.com with ESMTPS id de3si1089137wib.7.2014.04.04.08.42.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 08:42:10 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.180 is neither permitted nor denied by best guess record for domain of daniel.thompson@linaro.org) client-ip=209.85.212.180; Received: by mail-wi0-f180.google.com with SMTP id q5so1530954wiv.13 for ; Fri, 04 Apr 2014 08:42:09 -0700 (PDT) X-Received: by 10.180.38.110 with SMTP id f14mr5819386wik.0.1396626129752; Fri, 04 Apr 2014 08:42:09 -0700 (PDT) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id b2sm5354149wiz.15.2014.04.04.08.42.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Apr 2014 08:42:08 -0700 (PDT) From: Daniel Thompson To: Russell King Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, Daniel Thompson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Arnd Bergmann , Paul Bolle Subject: [PATCH v3] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Fri, 4 Apr 2014 16:41:42 +0100 Message-Id: <1396626102-13991-1-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1396622847-12718-1-git-send-email-daniel.thompson@linaro.org> References: <1396622847-12718-1-git-send-email-daniel.thompson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , When building a multi_v7_defconfig kernel it is not possible to configure DEBUG_LL to use any serial device except a ARM Primecell PL01X, or more accurately and worse, it is possible to configure a different serial device but KConfig does not honour this request. In fact this also overrides the user selection for some of the single platform kernels, for example I don't think DEBUG_LL can be targetted at ICE or semihosted supervisor for ARCH_VERSATILE. This happens because DEBUG_UART_PL01X is automatically enabled by some architectures and this means user decisions made regarding the DEBUG_LL backend will be overriden. Problem is fixed by removing the automatic enabling of this option. Signed-off-by: Daniel Thompson --- Notes: v3: Switch from def_bool to bool (thanks Russell King) v2: Remove pointless single platform support (thanks Arnd Bergmann) arch/arm/Kconfig.debug | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 0531da8..7e19c94 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -989,12 +989,7 @@ config DEBUG_LL_INCLUDE # Compatibility options for PL01x config DEBUG_UART_PL01X - def_bool ARCH_EP93XX || \ - ARCH_INTEGRATOR || \ - ARCH_SPEAR3XX || \ - ARCH_SPEAR6XX || \ - ARCH_SPEAR13XX || \ - ARCH_VERSATILE + bool # Compatibility options for 8250 config DEBUG_UART_8250