From patchwork Tue Aug 19 15:16:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 35624 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f198.google.com (mail-yk0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CD81A202DD for ; Tue, 19 Aug 2014 15:17:17 +0000 (UTC) Received: by mail-yk0-f198.google.com with SMTP id q200sf21933675ykb.1 for ; Tue, 19 Aug 2014 08:17:17 -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=gN69pOXX5Vh+mYRDdu5254PmSjevGpLL98Pcnxx0IK4=; b=Sd3y/mmvVWhYppHEk2JBV/py3TYlAVS4RPA1WkXgMcph/T9Lvtg4z9adCt/CsVr44Y 4+ecsKdgSSULpYNUqkPjIzxyKrR9pN7VwsN4/NO7zmcAqGFPvS2eBuQj2JjN88fIjiYV CaSBY4Kq18MzPxoG6I7kgX6nTsrO927w2aoO9AcEEf59TnIuyEgn2q+0enrU2ag6KFdm cABQLk3F7PqAflpg+7gcqT8OhmFzZYC0+F/ztCvNicFgEG6KhJriQHGO7Ork9A7b/1XB 66Thuo4FO7ZIYoh/qeR0LdZcq1oXLoKHpxySH40FEdrFTDpmi+9AM6twgRGd1fcrOA9R RpWw== X-Gm-Message-State: ALoCoQkFqmf6REFyNaQocbW5Ys1baFbdesaq1kYnyd+1RkLlYkoh5MrPnC5b+rOLSwprodPirGLb X-Received: by 10.236.201.108 with SMTP id a72mr18370153yho.39.1408461437656; Tue, 19 Aug 2014 08:17:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.18 with SMTP id z18ls2907205qge.0.gmail; Tue, 19 Aug 2014 08:17:17 -0700 (PDT) X-Received: by 10.221.36.3 with SMTP id sy3mr119417vcb.67.1408461437477; Tue, 19 Aug 2014 08:17:17 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id ee14si8910224vcb.93.2014.08.19.08.17.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 08:17:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hy4so7455543vcb.22 for ; Tue, 19 Aug 2014 08:17:17 -0700 (PDT) X-Received: by 10.220.81.132 with SMTP id x4mr2717285vck.0.1408461437410; Tue, 19 Aug 2014 08:17:17 -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.221.37.5 with SMTP id tc5csp247257vcb; Tue, 19 Aug 2014 08:17:16 -0700 (PDT) X-Received: by 10.180.74.240 with SMTP id x16mr7596373wiv.13.1408461436319; Tue, 19 Aug 2014 08:17:16 -0700 (PDT) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx.google.com with ESMTPS id t8si22906190wia.13.2014.08.19.08.17.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 08:17:16 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.182 as permitted sender) client-ip=74.125.82.182; Received: by mail-we0-f182.google.com with SMTP id k48so6616871wev.13 for ; Tue, 19 Aug 2014 08:17:15 -0700 (PDT) X-Received: by 10.180.92.134 with SMTP id cm6mr7689624wib.72.1408461435892; Tue, 19 Aug 2014 08:17:15 -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 f5sm7529192wib.18.2014.08.19.08.17.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Aug 2014 08:17:15 -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 v9 9/9] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Tue, 19 Aug 2014 16:16:47 +0100 Message-Id: <1408461407-10429-10-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1408461407-10429-1-git-send-email-daniel.thompson@linaro.org> References: <1408459715-10151-1-git-send-email-daniel.thompson@linaro.org> <1408461407-10429-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.177 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 Acked-by: 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 f92b98f..537dd04 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1127,12 +1127,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