Message ID | 1398355246-29571-6-git-send-email-daniel.thompson@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCAPDLF44QLBBWPK4SNAKGQEB72DZJY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2D1CA203AC for <linaro@patches.linaro.org>; Thu, 24 Apr 2014 16:01:30 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id v10sf3615933pde.7 for <linaro@patches.linaro.org>; Thu, 24 Apr 2014 09:01:29 -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=npiDOs4arEVqg+K8l92r1GlI23+JfB/LsMOcs7KAYT0=; b=NAxFcv4dXejNbRyYd2sXdxyKIQHJAulhrJQA3IkiRsfbvkcPllcoK+BGz40M+SO6jo CKh+mXZmHXib+kJJsAzjxBKYiH6B0pDhtlAehKHF5YwzzDVrhqjH5VsjG3xQeU61jV4Z gLPybfWF1gFTGnI9d6TyL72j49lL2mSZRt0/1iz7zCHptyL8YW2a/3uvJCpKVtfdstdT Rn1IQe8ZoFHjiH1hW2i3of0ZEwlCq5FuKdGL1HMIZ7tzizlRozmF0Nu1Fx3/s4Z+BPrH tmebqFfEckz88+dYzW+1Zj9Ph8PlTkMyV+d8O+bV5Bx4902GBg5VQipXyWLUyFCJ5a23 +9Zw== X-Gm-Message-State: ALoCoQljHaFRHz2e1CHxWtVnjgCxSHAZFFkA79AXryfMwsrxI0YaVzzhQEuzNFSF4M/wN1smRx9W X-Received: by 10.66.141.135 with SMTP id ro7mr366836pab.28.1398355289437; Thu, 24 Apr 2014 09:01:29 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.90.51 with SMTP id w48ls909870qgd.6.gmail; Thu, 24 Apr 2014 09:01:29 -0700 (PDT) X-Received: by 10.52.173.165 with SMTP id bl5mr1442665vdc.13.1398355289298; Thu, 24 Apr 2014 09:01:29 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id ua10si1021412vcb.177.2014.04.24.09.01.29 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 09:01:29 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id db11so3107288veb.21 for <patchwork-forward@linaro.org>; Thu, 24 Apr 2014 09:01:29 -0700 (PDT) X-Received: by 10.58.107.65 with SMTP id ha1mr1760009veb.1.1398355289230; Thu, 24 Apr 2014 09:01:29 -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 ib8csp27544vcb; Thu, 24 Apr 2014 09:01:28 -0700 (PDT) X-Received: by 10.180.96.225 with SMTP id dv1mr3534062wib.37.1398355288672; Thu, 24 Apr 2014 09:01:28 -0700 (PDT) Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) by mx.google.com with ESMTPS id gf7si2554085wjc.155.2014.04.24.09.01.28 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 09:01:28 -0700 (PDT) Received-SPF: none (google.com: daniel.thompson@linaro.org does not designate permitted sender hosts) client-ip=74.125.82.170; Received: by mail-we0-f170.google.com with SMTP id w61so2475103wes.15 for <patches@linaro.org>; Thu, 24 Apr 2014 09:01:28 -0700 (PDT) X-Received: by 10.194.185.148 with SMTP id fc20mr2433212wjc.27.1398355288228; Thu, 24 Apr 2014 09:01:28 -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 v6sm11458711wif.0.2014.04.24.09.01.26 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Apr 2014 09:01:27 -0700 (PDT) From: Daniel Thompson <daniel.thompson@linaro.org> To: Russell King <linux@arm.linux.org.uk> Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, Daniel Thompson <daniel.thompson@linaro.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Arnd Bergmann <arnd@arndb.de>, Paul Bolle <pebolle@tiscali.nl> Subject: [RESEND PATCH v5 5/5] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Thu, 24 Apr 2014 17:00:46 +0100 Message-Id: <1398355246-29571-6-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1398355246-29571-1-git-send-email-daniel.thompson@linaro.org> References: <1396886056-18132-1-git-send-email-daniel.thompson@linaro.org> <1398355246-29571-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: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 2612dd0..ca9a01c 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
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 <daniel.thompson@linaro.org> --- arch/arm/Kconfig.debug | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)