From patchwork Tue May 27 16:00:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 30987 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C1E422066E for ; Tue, 27 May 2014 16:00:58 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id lc6sf35142438vcb.3 for ; Tue, 27 May 2014 09:00:58 -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=uTeeSGVfL1nRWokYu+fCuQr/dmppfVDUwYQRr/qhA1w=; b=albMWvh1xA8AB/qWyc+fDGN6Pgfq29YAmj/Pz6Mk4Ak9cT4WfIq1GDUJT54rhitwu8 9fE1qN9/JVFsSJVjj20JbcqTOdTNEe/YXLiW+0qZOXrnia2YlOeSRJAE35z0FijgjidJ cI13xUj4WS4F3YyswCI+PvUWrxT9IZ6s7YC/F+2TTgDeGLhhQCsioQBCjfW9O1g1OIx/ 9sV7/TLmynpsdekJeAHJcxJ2KiZjnnnR2Ob++uMbT3CmlLTORbxrLDOhtxrIMwy9zwEP W1xZ0Fo6Av3y+z9qZ72wK7/ONIGR3RmBeHfFVuSGGjSmpcBuD4p3xWry2UiWvzXdxvm1 cYtQ== X-Gm-Message-State: ALoCoQkJxPpF4HY+eR3FCNKtVgUp1VDAD5/WNlei0B8c7LNoQOLQl/YwGUO+UvVONBr/kr8Uw0w8 X-Received: by 10.236.99.7 with SMTP id w7mr12052900yhf.4.1401206458608; Tue, 27 May 2014 09:00:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.138 with SMTP id 10ls3262930qgx.9.gmail; Tue, 27 May 2014 09:00:58 -0700 (PDT) X-Received: by 10.52.125.147 with SMTP id mq19mr23568568vdb.2.1401206458362; Tue, 27 May 2014 09:00:58 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id jq7si8426247vec.22.2014.05.27.09.00.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 09:00:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id ij19so7596136vcb.9 for ; Tue, 27 May 2014 09:00:58 -0700 (PDT) X-Received: by 10.220.7.131 with SMTP id d3mr1842597vcd.45.1401206458294; Tue, 27 May 2014 09:00:58 -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.221.72 with SMTP id ib8csp130517vcb; Tue, 27 May 2014 09:00:57 -0700 (PDT) X-Received: by 10.180.149.240 with SMTP id ud16mr39707991wib.3.1401206457317; Tue, 27 May 2014 09:00:57 -0700 (PDT) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx.google.com with ESMTPS id m5si25599772wjx.148.2014.05.27.09.00.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 09:00:56 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.49 as permitted sender) client-ip=74.125.82.49; Received: by mail-wg0-f49.google.com with SMTP id m15so9851028wgh.32 for ; Tue, 27 May 2014 09:00:56 -0700 (PDT) X-Received: by 10.194.176.37 with SMTP id cf5mr16950017wjc.79.1401206456070; Tue, 27 May 2014 09:00:56 -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 em5sm9363015wic.23.2014.05.27.09.00.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 May 2014 09:00:55 -0700 (PDT) From: Daniel Thompson To: Russell King Cc: Daniel Thompson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Arnd Bergmann , Paul Bolle , patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH v6 5/5] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Tue, 27 May 2014 17:00:21 +0100 Message-Id: <1401206421-29832-6-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1401206421-29832-1-git-send-email-daniel.thompson@linaro.org> References: <1400857819-7975-1-git-send-email-daniel.thompson@linaro.org> <1401206421-29832-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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) 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 --- 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 9a391f7..de67f7e 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -985,12 +985,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