From patchwork Tue Sep 16 22:46:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 37480 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1A37320549 for ; Tue, 16 Sep 2014 22:47:21 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id ty20sf302834lab.0 for ; Tue, 16 Sep 2014 15:47:20 -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=xLbK280VGNgX6XleDg3vtKwF60wb/Mb5UtT9VoAxukg=; b=eGnvVGtYnhtXFYhmYXnJNmoDEAS04iolRVgdt8SLMMdBrB/ZDUMa70hEkD2kAp3OV6 sLhp5JB+gTU6Cbxmw4SbCa+JWejEbb8NYoz3rZXwY9gjreB56ogu0baNT5vwKSY/+0vE LIqmnsHJbbjxI1+TmiQ9r6NtlpBL/tv3dMX9UT9hxe0BJKEGpP9/Du0JZ6u8PohZeq6R aE8/OlLujn6gk8EDjFAk99+d4wZk4G60tgB0YO76Onw6cpq3ITgwNIAuoQEm88z058nW GdGPG79cG7HS0LnzfbiGhLkB0gJoAvV0337/dzysTqvWWgf9dL4hEoHptP6lVehVOwYe s4jQ== X-Gm-Message-State: ALoCoQm0moxYVlMnUnCHZhWHF1L64Ttcm1WX34Y/sfiFuWpnuTLs5MSTOCwsQHdJW4hEEknvGFjA X-Received: by 10.194.100.3 with SMTP id eu3mr8799wjb.6.1410907640888; Tue, 16 Sep 2014 15:47:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.201 with SMTP id v9ls55036lag.40.gmail; Tue, 16 Sep 2014 15:47:20 -0700 (PDT) X-Received: by 10.152.30.100 with SMTP id r4mr14669940lah.87.1410907640554; Tue, 16 Sep 2014 15:47:20 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) by mx.google.com with ESMTPS id pk5si26214461lbb.60.2014.09.16.15.47.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Sep 2014 15:47:20 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id ty20so761476lab.9 for ; Tue, 16 Sep 2014 15:47:20 -0700 (PDT) X-Received: by 10.152.45.8 with SMTP id i8mr7504733lam.31.1410907640496; Tue, 16 Sep 2014 15:47:20 -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.112.130.169 with SMTP id of9csp483652lbb; Tue, 16 Sep 2014 15:47:19 -0700 (PDT) X-Received: by 10.66.65.230 with SMTP id a6mr53789474pat.18.1410907639017; Tue, 16 Sep 2014 15:47:19 -0700 (PDT) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx.google.com with ESMTPS id i15si31882599pdk.202.2014.09.16.15.47.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Sep 2014 15:47:19 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.220.51 as permitted sender) client-ip=209.85.220.51; Received: by mail-pa0-f51.google.com with SMTP id kx10so739609pab.24 for ; Tue, 16 Sep 2014 15:47:18 -0700 (PDT) X-Received: by 10.66.66.101 with SMTP id e5mr54918518pat.100.1410907638334; Tue, 16 Sep 2014 15:47:18 -0700 (PDT) Received: from harvey.bri.st.com.com (70-35-38-154.static.wiline.com. [70.35.38.154]) by mx.google.com with ESMTPSA id hz4sm15089762pbc.22.2014.09.16.15.47.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Sep 2014 15:47:17 -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 v10 9/9] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Tue, 16 Sep 2014 23:46:28 +0100 Message-Id: <1410907588-19957-10-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410907588-19957-1-git-send-email-daniel.thompson@linaro.org> References: <1410907588-19957-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.215.50 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 ed7da37..b6ec25a 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1126,12 +1126,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