From patchwork Fri May 23 15:10:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 30808 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DAB4B2066E for ; Fri, 23 May 2014 15:10:46 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id f73sf19264477yha.7 for ; Fri, 23 May 2014 08:10:46 -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=f00LqT5H6cnIYtqaeebcIkqBMu0Z0hAfMGAqr2UXdeo=; b=M0pDC9s/OisLhB6pYeDcSXSNrYG6IwCOG7tpalkuIyDdjU5GVMxu9GAkPtCZt4ebSv bjnBRox6J1+3OOCCtg8Q7nNvDIba9lUqTh5dbjsnPXmOw/H7fQQW0Wtbab0Cpw/OxWAn PKL1j8rxuJZiDDx+3vYmhDgI5PFFSyxm2m/1bOq45afsb2uIClgLezWYTVun23efYKBJ 0SqCkSxPNcXryBiom0yPQZaguVbEwSB3ak9gXM6kuJ1oet2Sm8Cd0VgUJvYPd6imrrkf 6b1R+ez5NokgoqWiCDdOmVlscE3cD2D6oBiFvC7/HAdcJxc1CeD8Y4JhxE693MEkwcnJ TkQw== X-Gm-Message-State: ALoCoQmu8dL7/oyxPNQ+kwtqDehYndXHmn90f3aSkUMsEaL7NC7nYJzgZmxs/p0jqXBLs794bhAc X-Received: by 10.58.225.197 with SMTP id rm5mr1815969vec.5.1400857846413; Fri, 23 May 2014 08:10:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.209 with SMTP id x75ls1786941qgx.46.gmail; Fri, 23 May 2014 08:10:46 -0700 (PDT) X-Received: by 10.220.251.13 with SMTP id mq13mr995773vcb.73.1400857846326; Fri, 23 May 2014 08:10:46 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id rn19si1797958vdb.22.2014.05.23.08.10.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 08:10:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.180 as permitted sender) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id db12so6381832veb.39 for ; Fri, 23 May 2014 08:10:46 -0700 (PDT) X-Received: by 10.220.7.131 with SMTP id d3mr1037186vcd.45.1400857846262; Fri, 23 May 2014 08:10:46 -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 ib8csp39313vcb; Fri, 23 May 2014 08:10:45 -0700 (PDT) X-Received: by 10.180.93.101 with SMTP id ct5mr3848464wib.23.1400857845372; Fri, 23 May 2014 08:10:45 -0700 (PDT) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by mx.google.com with ESMTPS id dc5si1635184wib.85.2014.05.23.08.10.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 08:10:45 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.177 as permitted sender) client-ip=209.85.212.177; Received: by mail-wi0-f177.google.com with SMTP id f8so1033861wiw.16 for ; Fri, 23 May 2014 08:10:44 -0700 (PDT) X-Received: by 10.180.13.139 with SMTP id h11mr3875888wic.34.1400857844861; Fri, 23 May 2014 08:10:44 -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 l9sm3377318wic.21.2014.05.23.08.10.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 May 2014 08:10:44 -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: [RESEND PATCH v5 5/5] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Fri, 23 May 2014 16:10:19 +0100 Message-Id: <1400857819-7975-6-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1400857819-7975-1-git-send-email-daniel.thompson@linaro.org> References: <1398355246-29571-1-git-send-email-daniel.thompson@linaro.org> <1400857819-7975-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.128.180 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 468cb3b..6a2bcfd 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -996,12 +996,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